/* ---------------------------------------------------------
   LEGAL / SECONDARY PAGES (Figma Desktop 9–13)
   Full-bleed like Home — escape Astra containers
   --------------------------------------------------------- */

body.diptych-legal-page.ast-separate-container,
body.diptych-legal-page.ast-plain-container,
body.diptych-legal-page #page,
body.diptych-legal-page #content,
body.diptych-legal-page .site-content,
body.diptych-legal-page .ast-container,
body.diptych-legal-page .site-content > .ast-container,
body.diptych-legal-page .entry-content,
body.diptych-legal-page article,
body.diptych-legal-page .ast-article-single {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	background: #fff !important;
	display: block !important;
	float: none !important;
}

body.diptych-legal-page .site-header,
body.diptych-legal-page #masthead,
body.diptych-legal-page .ast-primary-header-bar,
body.diptych-legal-page .ast-mobile-header-wrap,
body.diptych-legal-page .site-footer,
body.diptych-legal-page #colophon,
body.diptych-legal-page .site-below-footer-wrap,
body.diptych-legal-page .ast-footer-copyright,
body.diptych-legal-page .entry-header,
body.diptych-legal-page .page-header,
body.diptych-legal-page .ast-breadcrumbs-wrapper {
	display: none !important;
}

body.diptych-legal-page #ast-scroll-top {
	display: none !important;
}

.diptych-legal {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #fff;
	color: #212121;
	min-height: 100vh;
	box-sizing: border-box;
	overflow-x: hidden;
}

/* ---------- Light header: reset Home .dp-header ---------- */
.diptych-legal .dp-header.dp-header--light,
.dp-header.dp-header--light {
	position: sticky !important;
	inset: auto !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-width: none !important;
	height: 90px !important;
	z-index: 100;
	margin: 0 !important;
	background: #fff !important;
	box-shadow: 0 3px 24px rgba(0, 0, 0, 0.1);
	filter: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.diptych-legal .dp-header.dp-header--light.is-scrolled,
.dp-header.dp-header--light.is-scrolled {
	position: sticky !important;
	background: #fff !important;
	filter: none !important;
	box-shadow: 0 3px 24px rgba(0, 0, 0, 0.12);
}

.dp-header--light .dp-header__inner {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr !important;
	align-items: center;
	justify-content: unset !important;
	width: 100%;
	max-width: var(--container, 1440px);
	height: 100%;
	margin-inline: auto;
	padding-inline: var(--margin, 100px);
	box-sizing: border-box;
	gap: 16px;
}

.dp-header--light .dp-burger {
	justify-self: start !important;
	grid-column: 1 !important;
}

.dp-header--light .dp-header__logo {
	position: static !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
	justify-self: center !important;
	grid-column: 2 !important;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0;
	text-decoration: none;
	line-height: 0;
}

.dp-header--light .dp-header__actions {
	justify-self: end !important;
	grid-column: 3 !important;
}

.dp-header--light .dp-nav {
	/* flyout — not inline */
	justify-self: unset;
}

.dp-header--light .dp-header__sun {
	display: block;
	width: 36px;
	height: auto;
}

.dp-header--light .dp-header__wordmark {
	display: block;
	width: 105px;
	height: auto;
}

.dp-header--light .dp-header__actions {
	justify-self: end;
	grid-column: 3;
}

.dp-header--light .dp-burger span {
	background: #b8813f;
}

.dp-header--light .dp-icon img {
	filter: none;
	opacity: 1;
}

/* ---------- Content ---------- */
.dp-legal {
	display: block;
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding: 48px clamp(20px, 7vw, 100px) 80px;
	box-sizing: border-box;
}

.dp-legal__head {
	text-align: center;
	margin-bottom: 48px;
}

.dp-legal__title {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: 32px;
	letter-spacing: 0.64px;
	color: #212121;
	line-height: 1.2;
}

.dp-legal__crumbs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
	font-family: var(--font-body);
	font-weight: 200;
	font-size: 16px;
	letter-spacing: 0.32px;
	color: #212121;
}

.dp-legal__crumbs a {
	color: #212121;
	text-decoration: none;
}

.dp-legal__crumbs a:hover {
	color: #b8813f;
}

.dp-legal__crumb-sep {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-inline: 4px;
	background: currentColor;
	opacity: 0.35;
	clip-path: polygon(40% 0, 70% 50%, 40% 100%, 28% 100%, 58% 50%, 28% 0);
}

.dp-legal__updated {
	margin: 0 0 40px;
	font-family: var(--font-body);
	font-weight: 200;
	font-size: 16px;
	letter-spacing: 0.32px;
	color: #000;
}

.dp-legal__lead {
	margin: 0 0 48px;
	font-family: var(--font-body);
	font-weight: 200;
	font-size: clamp(20px, 2.2vw, 36px);
	letter-spacing: 0.02em;
	line-height: 1.35;
	color: #000;
	max-width: 100%;
}

.dp-legal__sections {
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
	max-width: 100%;
}

.dp-legal__section h2 {
	margin: 0 0 16px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: clamp(18px, 1.6vw, 24px);
	letter-spacing: 0.48px;
	line-height: 1.3;
	color: #000;
}

.dp-legal__section p,
.dp-legal__section li {
	margin: 0 0 10px;
	font-family: var(--font-body);
	font-weight: 200;
	font-size: clamp(16px, 1.5vw, 22px);
	letter-spacing: 0.48px;
	line-height: 1.45;
	color: #000;
}

.dp-legal__section ul {
	margin: 0 0 10px;
	padding-left: 1.4em;
}

.dp-legal__section li {
	margin-bottom: 4px;
}

.dp-legal__section a {
	color: #000;
	text-underline-offset: 3px;
}

.dp-legal__section strong {
	font-weight: 500;
}

/* ---------- Contacts ---------- */
.dp-contacts__intro {
	margin: 0 0 56px;
	font-family: var(--font-body);
	font-weight: 200;
	font-size: clamp(20px, 2.2vw, 36px);
	letter-spacing: 0.02em;
	line-height: 1.35;
	color: #000;
	max-width: 900px;
}

.dp-contacts__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px clamp(40px, 6vw, 80px);
	margin-bottom: 64px;
	width: 100%;
	align-items: start;
}

.dp-contacts__block h2 {
	margin: 0 0 28px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: clamp(24px, 2.2vw, 36px);
	letter-spacing: 0.72px;
	color: #000;
}

.dp-contacts__block p {
	margin: 0 0 8px;
	font-family: var(--font-body);
	font-weight: 200;
	font-size: clamp(16px, 1.5vw, 22px);
	letter-spacing: 0.48px;
	line-height: 1.4;
	color: #000;
}

.dp-contacts__block strong {
	font-weight: 500;
}

.dp-contacts__social {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.dp-contacts__social img {
	display: block;
	width: 43px;
	height: auto;
}

.dp-contacts__age {
	margin-top: 24px;
	max-width: 100%;
}

.dp-contacts__age h2 {
	margin: 0 0 28px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: clamp(24px, 2.2vw, 36px);
	letter-spacing: 0.72px;
}

.dp-contacts__age p {
	margin: 0 0 8px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: clamp(16px, 1.5vw, 22px);
	letter-spacing: 0.48px;
	line-height: 1.4;
}

/* ---------- Footer full-bleed on legal ---------- */
.diptych-legal .dp-footer {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	left: auto !important;
	right: auto !important;
	position: relative;
}

@media (max-width: 1024px) {
	.dp-header--light .dp-nav {
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.diptych-legal .dp-header.dp-header--light,
	.dp-header.dp-header--light {
		height: 64px !important;
	}

	.dp-header--light .dp-header__inner {
		display: grid !important;
		grid-template-columns: 1fr auto 1fr !important;
		align-items: center;
		padding-inline: 20px;
		position: relative;
	}

	.dp-header--light .dp-burger {
		justify-self: start !important;
		grid-column: 1 !important;
	}

	.dp-header--light .dp-header__logo {
		grid-column: 2 !important;
		justify-self: center !important;
		position: static !important;
		transform: none !important;
	}

	.dp-header--light .dp-header__actions {
		grid-column: 3 !important;
		justify-self: end !important;
	}

	.dp-header--light .dp-nav {
		display: none;
	}

	.dp-header--light .dp-nav.is-open {
		display: flex !important;
		position: fixed !important;
		inset: 64px 0 auto 0 !important;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		padding: 16px 20px 28px;
		box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
		z-index: 55;
		height: auto !important;
	}

	.dp-header--light .dp-burger {
		display: flex !important;
	}

	.dp-legal {
		padding: 28px 20px 56px;
	}

	.dp-legal__title {
		font-size: 26px;
	}

	.dp-legal__crumbs {
		font-size: 14px;
	}

	.dp-legal__updated {
		margin-bottom: 28px;
		font-size: 14px;
	}

	.dp-legal__sections {
		gap: 24px;
	}

	.dp-contacts__grid {
		grid-template-columns: 1fr;
		gap: 40px;
		margin-bottom: 40px;
	}

	.dp-contacts__intro {
		margin-bottom: 36px;
	}
}
