/* Sections shared by inner pages (Sell 18:579 / 27:1061, and Buy, which mirrors Sell).
   Desktop values first; 390 frame values in the media query at the end. */

/* Page hero with form card (Sell 18:599) */
.uh-phero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	gap: min(56px, 3.89vw);
	padding: 72px var(--uh-gutter);
	background: var(--uh-plum-deep);
}
.uh-phero__bg { position: absolute; inset: 0; z-index: -2; }
.uh-phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.uh-phero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to bottom, rgb(58 15 66 / 0.9), rgb(75 20 85 / 0.78));
}
.uh-phero__copy { display: flex; flex-direction: column; gap: 24px; flex: 1 1 0; min-width: 0; }
.uh-phero .uh-eyebrow { color: var(--uh-gold); }
.uh-h1 { color: #fff; font-family: var(--uh-serif); font-size: 50px; font-weight: 600; line-height: 54px; letter-spacing: -0.01em; }
.uh-phero__lede { color: var(--uh-sand); }
.uh-phero__stats { display: flex; align-items: flex-start; gap: 32px; padding-top: 8px; white-space: nowrap; }
.uh-phero__stat { display: flex; flex-direction: column; gap: 4px; }
.uh-phero__stat .uh-body-s { color: var(--uh-sand); }
.uh-phero__num {
	color: var(--uh-gold);
	font-family: var(--uh-serif);
	font-size: 32px;
	font-weight: 600;
	line-height: 33px;
	letter-spacing: -0.01em;
	font-variation-settings: "SOFT" 0, "WONK" 1;
}
.uh-phero__num.uh-rust { color: var(--uh-rust); }

.uh-form-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: min(440px, 30.56vw);
	flex: none;
	padding: 36px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 50px rgb(26 8 31 / 0.35);
}
.uh-form-card__title { color: var(--uh-plum); font-family: var(--uh-serif); font-size: 26px; font-weight: 600; line-height: 32px; letter-spacing: -0.002em; }
.uh-form-card__note,
.uh-form-card__fine { color: var(--uh-muted); font-size: 14px; line-height: 23px; }
.uh-form-card__fine { text-align: center; }
.uh-field { display: flex; flex-direction: column; gap: 8px; }
.uh-field > span:first-child { color: var(--uh-muted); font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; }
.uh-field input {
	width: 100%;
	padding: 15px 16px;
	border: 0;
	border-radius: 4px;
	background: #f7f2ea;
	box-shadow: inset 0 0 0 1px #e2d6c6;
	color: var(--uh-body);
	font-size: 16px;
	line-height: 28px;
}
.uh-field input::placeholder { color: var(--uh-muted); opacity: 1; }
.uh-field input,
.uh-field textarea { transition: box-shadow 150ms ease; }
.uh-field input:focus,
.uh-field textarea:focus { box-shadow: inset 0 0 0 1px var(--uh-plum); }
.uh-form-card__submit { width: 100%; }

/* Intro plus divided rows (Sell Why 18:632, Psychology 281:1294) */
.uh-rows { display: flex; align-items: flex-start; gap: min(96px, 6.67vw); padding: 100px var(--uh-gutter) 96px; background: #fff; }
.uh-rows__intro { display: flex; flex-direction: column; gap: 22px; width: min(400px, 27.78vw); flex: none; }
.uh-rows__list { flex: 1 1 0; min-width: 0; }
.uh-rows__row { display: flex; flex-direction: column; gap: 10px; padding: 34px 0; border-top: 1px solid #e7ddd0; }
.uh-rows__row:first-child { padding-top: 0; border-top: 0; }
.uh-rows__bar { display: block; width: 36px; height: 3px; background: var(--uh-gold); }

/* Results on velvet (Sell 18:690) */
.uh-results { display: flex; align-items: center; justify-content: space-between; padding: 56px min(90px, 6.25vw); }
.uh-results__item { display: flex; flex-direction: column; gap: 6px; white-space: nowrap; }
.uh-results__item .uh-body-s { color: var(--uh-sand); }
.uh-results__num {
	color: var(--uh-gold);
	font-family: var(--uh-serif);
	font-size: 44px;
	font-weight: 600;
	line-height: 46px;
	letter-spacing: -0.01em;
	font-variation-settings: "SOFT" 0, "WONK" 1;
}

/* Checklist (Sell Included 18:649) */
.uh-checklist { display: flex; align-items: flex-start; gap: min(72px, 5vw); padding: 96px var(--uh-gutter); background: var(--uh-cream); }
.uh-checklist__intro { display: flex; flex-direction: column; gap: 16px; width: min(420px, 29.17vw); flex: none; }
.uh-checklist__list { display: flex; flex-direction: column; gap: 16px; flex: 1 1 0; min-width: 0; }
.uh-checklist__list li { display: flex; align-items: center; gap: 12px; color: var(--uh-body); font-size: 18px; line-height: 31px; white-space: nowrap; }
.uh-checklist__list img { width: 22px; height: 22px; flex: none; }

/* Single review (Sell Seller Quote 18:703) */
.uh-quote { padding: 90px var(--uh-gutter); background: #fff; }
.uh-quote figure { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.uh-quote__stars { color: var(--uh-gold); font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; }
.uh-quote__text {
	max-width: 860px;
	margin: 0;
	color: var(--uh-plum);
	font-family: var(--uh-serif);
	font-size: 30px;
	font-style: italic;
	font-weight: 300;
	line-height: 40px;
	letter-spacing: -0.002em;
	font-variation-settings: "SOFT" 0, "WONK" 1;
}
.uh-quote__byline { color: var(--uh-muted); font-size: 14px; line-height: 23px; white-space: pre-wrap; }

/* Gold closing band (Sell CTA 18:707) */
.uh-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 80px var(--uh-gutter); background: linear-gradient(to right, var(--uh-gold), #b8923f); color: var(--uh-plum-deep); }
.uh-band__text { display: flex; flex-direction: column; gap: 14px; flex: 1 1 0; min-width: 0; }
.uh-band .uh-eyebrow,
.uh-band .uh-h2 { color: inherit; }
.uh-band .uh-h2 { max-width: 720px; }

@media (max-width: 1023px) {
	/* Hero 27:1071 */
	.uh-phero { flex-direction: column; align-items: stretch; gap: 20px; padding: 44px 26px; }
	.uh-phero__copy { gap: 20px; }
	.uh-h1 { font-size: 32px; line-height: 35px; }
	.uh-phero__lede { font-size: 16px; line-height: 28px; }
	.uh-phero__stats { flex-wrap: wrap; gap: 16px 24px; padding-top: 0; }
	.uh-phero__stat { gap: 3px; }
	.uh-phero__num { font-size: 28px; line-height: 29px; }
	.uh-form-card { width: auto; gap: 16px; padding: 28px 26px; box-shadow: none; }
	.uh-form-card__title { font-size: 24px; line-height: 29px; white-space: nowrap; }
	.uh-field input { padding-block: 14px; }
	.uh-form-card__submit { justify-content: center; }

	/* Rows 27:1102, 281:1330 */
	.uh-rows { flex-direction: column; gap: 22px; padding: 52px 26px 48px; }
	.uh-rows__intro { width: auto; }
	.uh-rows .uh-h2,
	.uh-checklist .uh-h2 { font-size: 27px; line-height: 30px; }
	.uh-rows__list { display: flex; flex-direction: column; gap: 22px; }
	.uh-rows__row { gap: 12px; padding: 0; border-top: 0; }
	.uh-rows .uh-h3 { font-size: 20px; line-height: 24px; }

	/* Results 27:1156 */
	.uh-results { flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; gap: 28px 0; padding: 40px 26px; }
	.uh-results__item { width: 150px; gap: 5px; white-space: normal; }
	.uh-results__num { font-size: 30px; line-height: 31px; white-space: nowrap; }
	.uh-results__item:nth-child(3) .uh-results__num { width: 166px; font-size: 22px; line-height: 23px; }

	/* Checklist 27:1117 */
	.uh-checklist { flex-direction: column; gap: 20px; padding: 48px 26px; }
	.uh-checklist__intro { width: auto; gap: 20px; }
	.uh-checklist__list { gap: 14px; }
	.uh-checklist__list li { align-items: flex-start; white-space: normal; }
	.uh-checklist__list span { flex: 1 1 0; }

	/* Quote 27:1169 */
	.uh-quote { padding: 52px 26px; text-align: center; }
	.uh-quote figure { gap: 16px; }
	.uh-quote__text { font-size: 25px; line-height: 34px; }

	/* Band 27:1173 */
	.uh-band { flex-direction: column; align-items: stretch; gap: 18px; padding: 52px 26px; }
	.uh-band .uh-h2 { font-size: 26px; line-height: 29px; text-align: center; }
	.uh-band .uh-btn { justify-content: center; }
}

/* Fraunces sizes measured 1 px high in Chrome vs Figma (qa/tools/shift.js, 2026-10-22); see tokens.md rule 8.
   Measured at 0 and not nudged: 50, 44, 38, 32, 30 (stat), 28, 25 italic, 22 px. */
@media (min-width: 1024px) {
	.uh-quote__text { position: relative; top: 1px; }
}
@media (max-width: 1023px) {
	.uh-rows .uh-h2,
	.uh-checklist .uh-h2,
	.uh-band .uh-h2 { position: relative; top: 1px; }
}

/* ===== About (13:134 / 21:731) ===== */
.uh-eyebrow--teal { color: var(--uh-teal); }

/* Numbered rows (How I Work 13:200) and the empty-numeral variant (Values 13:170) */
.uh-rows__row--num { flex-direction: row; align-items: flex-start; gap: 30px; }
.uh-rows__num {
	flex: none;
	color: var(--uh-gold);
	font-family: var(--uh-serif);
	font-size: 32px;
	font-weight: 600;
	line-height: 33px;
	letter-spacing: -0.01em;
	font-variation-settings: "SOFT" 0, "WONK" 1;
	white-space: nowrap;
}
.uh-rows__num:empty { width: 0; }
.uh-rows__text { display: flex; flex-direction: column; gap: 10px; flex: 1 1 0; min-width: 0; }
.uh-rows--values { padding-block: 104px; background: var(--uh-cream); }
.uh-rows--steps { padding-block: 104px; }

/* Hero with portrait (13:154) */
.uh-ahero { display: flex; height: 560px; background: linear-gradient(to right, var(--uh-plum-deep), var(--uh-plum)); }
.uh-ahero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	width: min(760px, 52.78vw);
	flex: none;
	padding: 0 min(56px, 3.89vw) 0 var(--uh-gutter);
	overflow: hidden;
}
.uh-ahero .uh-eyebrow { color: var(--uh-gold); }
.uh-ahero__lede { color: var(--uh-sand); }
.uh-ahero__photo { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; }
.uh-ahero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uh-ahero__caption {
	position: absolute;
	top: 40px;
	left: 40px;
	color: #fff;
	opacity: 0.92;
	font-family: var(--uh-serif);
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	line-height: 23px;
	font-variation-settings: "SOFT" 0, "WONK" 1;
	white-space: nowrap;
}

/* Story (13:161) */
.uh-story { display: flex; align-items: flex-start; gap: min(72px, 5vw); padding: 104px var(--uh-gutter); background: #fff; }
.uh-story__intro { display: flex; flex-direction: column; gap: 16px; width: min(380px, 26.39vw); flex: none; }
.uh-story__text { display: flex; flex-direction: column; gap: 20px; flex: 1 1 0; min-width: 0; }
.uh-story__signature {
	color: var(--uh-plum);
	font-family: var(--uh-serif);
	font-size: 28px;
	font-style: italic;
	font-weight: 300;
	line-height: 38px;
	letter-spacing: -0.002em;
	font-variation-settings: "SOFT" 0, "WONK" 1;
	white-space: nowrap;
}

/* Credentials on velvet (13:187) */
.uh-creds { display: flex; align-items: center; justify-content: space-between; padding: 54px min(80px, 5.56vw); }
.uh-creds__item { display: flex; flex-direction: column; gap: 6px; white-space: nowrap; }
.uh-creds__item img { width: 77px; height: 40px; object-fit: contain; }
.uh-creds .uh-body-s { color: var(--uh-sand); }
.uh-creds__num {
	color: var(--uh-gold);
	font-family: var(--uh-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 29px;
	letter-spacing: -0.002em;
	font-variation-settings: "SOFT" 0, "WONK" 1;
}

/* Certifications (160:1029). Figma "Auto" line heights measured: 25, 17, 13 px. */
.uh-certs { display: flex; flex-direction: column; gap: 18px; padding: 96px var(--uh-gutter); background: #fff; }
.uh-certs__intro { max-width: 760px; }
.uh-certs__list { padding-top: 14px; }
.uh-cert { box-sizing: content-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; padding: 20px 0; border-top: 1px solid rgb(0 0 0 / 0.1); } /* 100 px rows plus a 1 px divider between, as in Figma */
.uh-cert:first-child { border-top: 0; }
.uh-cert__text { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.uh-cert__title { color: var(--uh-plum); font-family: var(--uh-serif); font-size: 20px; font-weight: 600; line-height: 25px; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-cert__line { color: var(--uh-body); font-size: 14px; line-height: 17px; white-space: pre; }
.uh-cert__badge {
	flex: none;
	padding: 6px calc(12px - 0.08em) 6px 12px;
	border-radius: 100px;
	font-size: 11px;
	font-weight: 600;
	line-height: 13px;
	letter-spacing: 0.08em;
	white-space: nowrap;
}
.uh-cert__badge--earned,
.uh-cert__badge--member { background: var(--uh-gold); color: var(--uh-plum); }
.uh-cert__badge--training { background: rgb(8 153 171 / 0.12); color: var(--uh-teal); }

/* Team (168:1029) */
.uh-team { display: flex; flex-direction: column; gap: 24px; padding: 96px var(--uh-gutter); background: #fff; }
.uh-team__photo { position: relative; height: 656px; overflow: hidden; border-radius: 16px; }
.uh-team__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* About CTA (13:221) is a fixed 328 px frame */
.uh-band--about { min-height: 328px; }

@media (max-width: 1023px) {
	.uh-rows__row--num { flex-direction: column; }
	.uh-rows__num:empty { display: none; }

	/* Values 21:753: white cards */
	.uh-rows--values { gap: 18px; padding: 52px 26px; }
	.uh-rows--values .uh-rows__intro { gap: 18px; }
	.uh-rows--values .uh-h2,
	.uh-rows--steps .uh-h2 { font-size: 28px; line-height: 31px; }
	.uh-rows--values .uh-rows__list { gap: 18px; }
	.uh-rows--values .uh-rows__row { padding: 24px; border-radius: 6px; background: #fff; }
	.uh-rows--values .uh-rows__text { gap: 12px; }

	/* How I Work 21:782 */
	.uh-rows--steps { gap: 24px; padding: 52px 26px; }
	.uh-rows--steps .uh-rows__intro { gap: 24px; }
	.uh-rows--steps .uh-rows__list { gap: 24px; }
	.uh-rows--steps .uh-rows__row,
	.uh-rows--steps .uh-rows__text { gap: 6px; }
	.uh-rows--steps .uh-rows__num { width: auto !important; font-size: 28px; line-height: 29px; }
	.uh-rows--steps .uh-rows__bar { display: none !important; }

	/* Hero 21:741 */
	.uh-ahero { flex-direction: column; gap: 18px; height: auto; padding: 44px 26px 40px; }
	.uh-ahero__copy { width: auto; gap: 18px; padding: 0; overflow: visible; }
	.uh-ahero__lede { font-size: 16px; line-height: 28px; }
	.uh-ahero__photo { flex: none; height: 260px; border-radius: 6px; }

	/* Story 21:746 */
	.uh-story { flex-direction: column; gap: 16px; padding: 52px 26px 48px; }
	.uh-story__intro { width: auto; }
	.uh-story__text { gap: 16px; }
	.uh-story .uh-h2 { font-size: 30px; line-height: 34px; }
	.uh-story__signature { font-size: 26px; line-height: 35px; }

	/* Credentials 21:768 */
	.uh-creds { flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; gap: 28px 18px; padding: 44px 26px; }
	.uh-creds__item { width: 150px; gap: 5px; }
	.uh-creds__num { font-size: 17px; line-height: 21px; }

	/* Certifications 163:1029 */
	.uh-certs { gap: 12px; padding: 56px 26px; }
	.uh-certs .uh-h2,
	.uh-team .uh-h2 { font-size: 27px; line-height: 30px; }
	.uh-certs__intro { font-size: 15px; line-height: 25px; }
	.uh-certs__list { padding-top: 10px; }
	.uh-cert { box-sizing: border-box; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 7px; height: auto; padding: 16px 0; }
	.uh-cert__text { gap: 7px; white-space: normal; }
	.uh-cert__title { font-size: 18px; line-height: 21px; letter-spacing: -0.002em; }
	.uh-cert__line { font-size: 13px; line-height: 20px; white-space: pre-wrap; }
	.uh-cert__badge { padding: 5px calc(10px - 0.08em) 5px 10px; font-size: 10px; line-height: 12px; }

	/* Team 168:1033 */
	.uh-team { gap: 16px; padding: 56px 26px; }
	.uh-team__photo { height: 260px; border-radius: 14px; }

	/* CTA 21:801 */
	.uh-band--about { min-height: 0; background: linear-gradient(138.26deg, var(--uh-gold) 14.286%, #b8923f 85.714%); }
}

/* ===== Healthy Homes (14:201 / 25:830) ===== */
/* Hero on photo (14:221) */
.uh-hhero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 24px;
	height: 520px;
	padding: 0 var(--uh-gutter);
	background: var(--uh-plum-deep);
}
.uh-hhero__bg { position: absolute; inset: 0; z-index: -2; }
.uh-hhero__bg img { width: 100%; height: 100%; object-fit: cover; }
.uh-hhero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to bottom, rgb(58 15 66 / 0.9), rgb(75 20 85 / 0.78));
}
.uh-hhero .uh-eyebrow { color: var(--uh-gold); }
.uh-hhero .uh-display { max-width: 900px; }
.uh-hhero__lede { max-width: 600px; color: var(--uh-sand); }

/* Split text (Intro 14:227, Disclaimer 250:1031) */
.uh-split { display: flex; align-items: flex-start; gap: min(72px, 5vw); padding: 100px var(--uh-gutter) 80px; background: #fff; }
.uh-split__intro { display: flex; flex-direction: column; gap: 16px; width: min(560px, 38.89vw); flex: none; }
.uh-split__text { display: flex; flex-direction: column; gap: 18px; flex: 1 1 0; min-width: 0; }

/* Six pillar cards (14:234). Cards are a fixed 636 px in Figma, with no row gap. */
.uh-hpillars { display: flex; flex-direction: column; gap: 28px; padding: 88px var(--uh-gutter) 100px; background: var(--uh-cream); }
.uh-hpillars__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 28px; }
.uh-hpillar {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: min(636px, calc((100% - 28px) / 2));
	padding: 32px 34px;
	border-radius: 6px;
	background: #fff;
	scroll-margin-top: 96px;
}
.uh-hpillar::after { content: ""; position: absolute; inset: 0; border: 1px solid #ece3d6; border-radius: inherit; pointer-events: none; }
.uh-hpillar__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 26px; background: var(--uh-teal-tint); }
.uh-hpillar__icon img { width: 26px; height: 26px; }
.uh-hpillar__title { color: var(--uh-charcoal); font-family: var(--uh-serif); font-size: 23px; font-weight: 600; line-height: 28px; letter-spacing: -0.002em; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-hpillar__check { display: flex; align-items: flex-start; gap: 10px; padding-top: 4px; color: var(--uh-muted); font-size: 14px; line-height: 23px; }
.uh-hpillar__check > span:last-child { flex: 1 1 0; min-width: 0; }
.uh-hpillar__label { flex: none; color: var(--uh-gold-deep); font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; white-space: nowrap; }

/* Offer bands (Checklist CTA 14:294 velvet, Newsletter 250:1038 cream) */
.uh-offer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 72px min(80px, 5.56vw); }
.uh-offer__text { display: flex; flex-direction: column; gap: 14px; flex: 1 1 0; min-width: 0; }
.uh-offer .uh-body-l { max-width: 620px; }
.uh-offer--velvet .uh-eyebrow { color: var(--uh-gold); }
.uh-offer--velvet .uh-h2 { color: #fff; }
.uh-offer--velvet .uh-body-l { color: var(--uh-sand); }
.uh-offer--cream { background: var(--uh-cream); }
.uh-offer--cream .uh-eyebrow { color: var(--uh-teal); }

@media (max-width: 1023px) {
	.uh-hhero { align-items: stretch; gap: 18px; height: auto; padding: 48px 26px 44px; text-align: center; }
	.uh-hhero .uh-display { font-size: 30px; line-height: 31px; }
	.uh-hhero__lede { font-size: 16px; line-height: 28px; }
	.uh-hhero .uh-btn { justify-content: center; }

	.uh-split { flex-direction: column; gap: 16px; padding: 52px 26px 40px; }
	.uh-split__intro { width: auto; }
	.uh-split__text { gap: 16px; }
	.uh-split .uh-h2,
	.uh-offer .uh-h2 { font-size: 28px; line-height: 31px; }

	.uh-hpillars { gap: 18px; padding: 48px 26px 52px; }
	.uh-hpillars .uh-h2 { font-size: 27px; line-height: 30px; }
	.uh-hpillars__grid { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 18px; }
	.uh-hpillar { width: auto; gap: 12px; padding: 24px; }
	.uh-hpillar__icon { width: 46px; height: 46px; border-radius: 23px; }
	.uh-hpillar__icon img { width: 24px; height: 24px; }
	.uh-hpillar__title { font-size: 21px; line-height: 26px; }
	.uh-hpillar__check { gap: 8px; padding-top: 0; }

	.uh-offer { flex-direction: column; align-items: stretch; gap: 16px; padding: 48px 26px 52px; }
	.uh-offer__text { gap: 16px; }
	.uh-offer .uh-btn { justify-content: center; }
}

/* Healthy Homes mobile headings at 27 and 28 px measured 1 px high (qa/tools/shift.js); 30 px hero measured 0. */
@media (max-width: 1023px) {
	.uh-split .uh-h2,
	.uh-offer .uh-h2,
	.uh-hpillars .uh-h2 { position: relative; top: 1px; }
}

/* ===== Contact (19:647 / 28:1099) ===== */
/* Hero on photo (19:667) */
.uh-chero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 72px var(--uh-gutter);
	background: var(--uh-plum-deep);
}
.uh-chero__bg { position: absolute; inset: 0; z-index: -2; }
.uh-chero__bg img { width: 100%; height: 100%; object-fit: cover; }
.uh-chero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgb(58 15 66 / 0.9), rgb(75 20 85 / 0.78)); }
.uh-chero .uh-eyebrow { color: var(--uh-gold); }
.uh-chero .uh-display { max-width: 820px; }
.uh-chero__lede { max-width: 620px; color: var(--uh-sand); }

/* Form and contact card (19:671) */
.uh-contact { display: flex; align-items: flex-start; gap: min(56px, 3.89vw); padding: 88px var(--uh-gutter) 96px; background: #fff; }
.uh-contact__form { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; flex: 1 1 0; min-width: 0; }
.uh-contact__row { display: flex; gap: 20px; width: 100%; }
.uh-contact__row > .uh-field { flex: 1 1 0; min-width: 0; }
.uh-field--area { width: 100%; }
.uh-field textarea {
	display: block;
	width: 100%;
	height: 139px;
	padding: 15px 16px;
	border: 0;
	border-radius: 4px;
	background: #f7f2ea;
	box-shadow: inset 0 0 0 1px #e2d6c6;
	color: var(--uh-body);
	font-size: 16px;
	line-height: 28px;
	resize: vertical;
}
.uh-field textarea::placeholder { color: var(--uh-muted); opacity: 1; }
.uh-select { position: relative; display: block; }
.uh-select__shown {
	display: block;
	padding: 15px 16px;
	border-radius: 4px;
	background: #f7f2ea;
	box-shadow: inset 0 0 0 1px #e2d6c6;
	color: var(--uh-muted);
	font-size: 16px;
	line-height: 28px;
	white-space: pre;
}
/* The real select covers the whole field. It is invisible, so it can use 16 px text: under 16 px iOS zooms on focus.
   appearance: none lets WebKit stretch it to the field's full height (a 58 px tap target, not 18 px). */
.uh-select select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; appearance: none; -webkit-appearance: none; font-size: 16px; }
.uh-select:focus-within .uh-select__shown { outline: 2px solid var(--uh-teal); outline-offset: 3px; }
.uh-contact__aside { width: min(440px, 30.56vw); flex: none; }
.uh-contact__card { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: 40px; border-radius: 8px; background: var(--uh-cream); }
.uh-contact__card-title { color: var(--uh-plum); font-family: var(--uh-serif); font-size: 24px; font-weight: 600; line-height: 29px; letter-spacing: -0.002em; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-contact__item { display: flex; flex-direction: column; gap: 6px; }
.uh-contact__label { color: var(--uh-gold-deep); font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; white-space: nowrap; }
.uh-contact__value { color: var(--uh-charcoal); font-size: 18px; line-height: 31px; }
.uh-contact__rule { width: 100%; height: 1px; background: #e2d6c6; }

/* FAQ (19:716): all answers open, as in Figma */
.uh-faq { display: flex; flex-direction: column; gap: 40px; padding: 88px var(--uh-gutter) 92px; background: #f3edf1; }
.uh-faq__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 28px; }
.uh-faq__item { display: flex; flex-direction: column; gap: 10px; width: min(636px, calc((100% - 28px) / 2)); }
.uh-faq__q { color: var(--uh-charcoal); font-family: var(--uh-serif); font-size: 21px; font-weight: 600; line-height: 26px; letter-spacing: -0.002em; font-variation-settings: "SOFT" 0, "WONK" 1; }

@media (max-width: 1023px) {
	.uh-chero { align-items: stretch; gap: 16px; padding: 48px 26px 44px; text-align: center; }
	.uh-chero .uh-display { font-size: 34px; line-height: 35px; }
	.uh-chero__lede { font-size: 16px; line-height: 28px; }

	.uh-contact { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
	.uh-contact__form { align-items: stretch; gap: 18px; padding: 48px 26px 44px; }
	.uh-contact .uh-h2 { font-size: 28px; line-height: 31px; }
	.uh-contact__row { flex-direction: column; gap: 18px; }
	.uh-select__shown { padding-block: 14px; }
	.uh-field textarea { height: 122px; padding-top: 14px; }
	.uh-contact__submit { justify-content: center; }
	.uh-contact__aside { width: auto; padding: 0 26px 48px; }
	.uh-contact__card { align-items: stretch; gap: 22px; padding: 32px; }
	.uh-contact__card-title { font-size: 23px; line-height: 28px; }
	.uh-contact__card .uh-btn { justify-content: center; }

	.uh-faq { gap: 24px; padding: 48px 26px 52px; }
	.uh-faq .uh-h2 { font-size: 27px; line-height: 30px; }
	.uh-faq__grid { flex-direction: column; flex-wrap: nowrap; gap: 24px; }
	.uh-faq__item { width: auto; gap: 8px; }
	.uh-faq__q { font-size: 20px; line-height: 24px; }
}

/* Contact mobile headings at 34, 28 and 27 px measured 1 px high; 23 px card title measured 0. */
@media (max-width: 1023px) {
	.uh-chero .uh-display,
	.uh-contact .uh-h2,
	.uh-faq .uh-h2 { position: relative; top: 1px; }
}

/* ===== Listings (15:269 / 25:945) ===== */
.uh-lhead { display: flex; flex-direction: column; gap: 16px; padding: 70px var(--uh-gutter) 64px; }
.uh-lhead .uh-eyebrow { color: var(--uh-gold); }
.uh-lhead .uh-h1 { max-width: 820px; }
.uh-lhead__lede { max-width: 640px; color: var(--uh-sand); }

/* Filter bar (15:293). Chips are buttons; panels are not in Figma and use the same tokens. */
.uh-filters { position: relative; z-index: 5; background: var(--uh-cream); }
.uh-filters__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--uh-gutter); }
.uh-filters__chips { display: flex; align-items: flex-start; gap: 12px; }
.uh-filters__sort { display: flex; align-items: center; gap: 10px; flex: none; }
.uh-filters__sort-label { color: var(--uh-muted); font-size: 14px; line-height: 23px; }
.uh-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px calc(16px) 12px 18px;
	border: 0;
	border-radius: 6px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #d9ccbb;
	color: var(--uh-charcoal);
	font-size: 15px;
	font-weight: 500;
	line-height: 18px;
	letter-spacing: 0.01em;
	white-space: pre;
	cursor: pointer;
}
.uh-chip img { width: 12px; height: 12px; flex: none; }
.uh-chip--plum { background: var(--uh-plum); color: #fff; }
.uh-chip[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--uh-plum); }
.uh-panel {
	position: absolute;
	top: calc(100% - 8px);
	left: var(--uh-gutter);
	min-width: 260px;
	padding: 20px 22px;
	border-radius: 6px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #d9ccbb, 0 18px 40px rgb(41 13 46 / 0.16);
}
.uh-panel[data-panel="sort"] { left: auto; right: var(--uh-gutter); }
/* Panels grow out of the filter bar: from its left edge, Sort from its right. */
.uh-panel { transform-origin: top left; transition: opacity 200ms var(--uh-ease-out), transform 200ms var(--uh-ease-out), display 200ms allow-discrete; }
.uh-panel[data-panel="sort"] { transform-origin: top right; }
.uh-panel[hidden] { display: none; opacity: 0; transform: scale(0.97); transition-duration: 150ms; }
@starting-style {
	.uh-panel:not([hidden]) { opacity: 0; transform: scale(0.97); }
}
.uh-panel fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.uh-panel__legend { margin-bottom: 4px; color: var(--uh-gold-deep); font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.uh-panel__option { display: flex; align-items: center; gap: 10px; color: var(--uh-body); font-size: 15px; line-height: 23px; cursor: pointer; }
.uh-panel__option input { width: 16px; height: 16px; margin: 0; accent-color: var(--uh-plum); }

/* Count (15:321): rust {{count}}/{{range}} in QA mode, resolved text otherwise */
.uh-lcount { display: flex; align-items: center; justify-content: space-between; padding: 40px var(--uh-gutter) 8px; background: #fff; white-space: nowrap; }
.uh-lcount__total { color: var(--uh-plum); font-family: var(--uh-serif); font-size: 22px; font-weight: 600; line-height: 27px; letter-spacing: -0.002em; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-lcount__range { color: var(--uh-muted); font-size: 14px; line-height: 23px; }

/* Grid (15:324): 384 px cards, 3 per row */
.uh-lgrid { padding: 24px var(--uh-gutter) 40px; background: #fff; }
.uh-lgrid__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.uh-lgrid__item { width: min(384px, calc((100% - 56px) / 3)); }
.uh-lgrid__item[hidden] { display: none; }
/* Cards that come back after a filter change fade in instead of popping. Opacity only: the grid is a tool. */
.uh-lgrid__item { transition: opacity 200ms var(--uh-ease-out); }
@starting-style {
	.uh-lgrid__item:not([hidden]) { opacity: 0; }
}

/* Empty state (251:1033) and CTA (15:455) */
.uh-lempty,
.uh-lcta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 80px var(--uh-gutter) 84px; background: #f3edf1; }
.uh-lempty .uh-h2,
.uh-lcta .uh-h2 { max-width: 760px; }
.uh-lempty .uh-body-l,
.uh-lcta .uh-body-l { max-width: 600px; }
.uh-lcta__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Pagination (15:446) */
.uh-pager { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 0 80px; background: #fff; }
.uh-pager__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 4px;
	background: none;
	box-shadow: inset 0 0 0 1px #d9ccbb;
	color: var(--uh-charcoal);
	font-size: 15px;
	font-weight: 500;
	line-height: 18px;
	letter-spacing: 0.01em;
	cursor: pointer;
}
.uh-pager__btn.is-current { background: var(--uh-plum); box-shadow: none; color: #fff; }

@media (max-width: 1023px) {
	.uh-lhead { gap: 14px; padding: 44px 26px 40px; }
	.uh-lhead .uh-h1 { font-size: 30px; line-height: 32px; }
	.uh-lhead__lede { font-size: 16px; line-height: 28px; }

	/* Figma clips the Sort chip at the frame edge; the bar scrolls sideways instead of hiding it. */
	.uh-filters__bar { gap: 0; padding: 16px 26px; overflow-x: auto; scrollbar-width: none; }
	.uh-filters__bar::-webkit-scrollbar { display: none; }
	.uh-filters__chips,
	.uh-filters__sort { gap: 8px; }
	.uh-chip { gap: 8px; padding: 11px 14px 11px 16px; }
	.uh-panel,
	.uh-panel[data-panel="sort"] { position: static; margin: 0 26px 16px; }
	/* Inline on phones, so it fades without the scale. */
	.uh-panel,
	.uh-panel[hidden] { transform: none; }
	@starting-style {
		.uh-panel:not([hidden]) { transform: none; }
	}

	.uh-lcount { padding: 28px 26px 8px; }
	.uh-lcount__total { font-size: 20px; line-height: 24px; }

	.uh-lgrid { padding: 16px 26px 32px; }
	.uh-lgrid__grid { gap: 22px; }
	.uh-lgrid__item { width: 100%; }
	.uh-lgrid--qa .uh-lgrid__item:nth-child(n + 5) { display: none; }

	.uh-lempty,
	.uh-lcta { align-items: stretch; gap: 18px; padding: 48px 26px 52px; text-align: center; }
	.uh-lempty .uh-h2,
	.uh-lcta .uh-h2 { font-size: 26px; line-height: 29px; }
	.uh-lempty .uh-body-l,
	.uh-lcta .uh-body-l { font-size: 16px; line-height: 28px; }
	.uh-lempty .uh-btn,
	.uh-lcta .uh-btn { justify-content: center; }
	.uh-lcta__actions { flex-direction: column; gap: 18px; }

	.uh-pager { padding: 8px 0 48px; }
}

/* Listings mobile headings at 30 (32 px line) and 26 px measured 1 px high; count text measured 0. */
@media (max-width: 1023px) {
	.uh-lhead .uh-h1,
	.uh-lempty .uh-h2,
	.uh-lcta .uh-h2 { position: relative; top: 1px; }
}

/* ===== Property Detail (17:450 / 26:981) ===== */
.uh-crumb { padding: 24px var(--uh-gutter) 4px; background: #fff; color: var(--uh-muted); font-size: 14px; line-height: 23px; white-space: pre; }
.uh-crumb a:hover { color: var(--uh-plum); }

/* Gallery (17:472): main photo plus two stacked side photos */
.uh-gallery { display: flex; gap: 12px; height: 480px; padding: 20px var(--uh-gutter) 0; background: #fff; }
.uh-gallery__main,
.uh-gallery__thumb { position: relative; overflow: hidden; border-radius: 6px; background-image: linear-gradient(128.52deg, #4b1455 10.714%, #0899ab 82.143%); }
.uh-gallery__main { flex: 1 1 0; min-width: 0; }
.uh-gallery__side { display: flex; flex-direction: column; gap: 12px; width: min(420px, 29.17vw); flex: none; }
.uh-gallery__thumb { flex: 1 1 0; }
.uh-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uh-gallery__badge,
.uh-gallery__all { position: absolute; left: 20px; font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; }
.uh-gallery__badge { top: 20px; padding: 6px calc(12px - 0.06em) 6px 12px; border-radius: 2px; background: var(--uh-gold); color: var(--uh-plum-deep); }
.uh-gallery__all { top: 420px; padding: 9px calc(16px - 0.06em) 9px 16px; border-radius: 3px; background: #fff; color: var(--uh-plum); }

/* Head (17:481): address, location, tags; price, status and button on the right */
.uh-pdp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 40px var(--uh-gutter) 24px; background: #fff; }
.uh-pdp-head__main { display: flex; flex-direction: column; gap: 12px; flex: 1 1 0; min-width: 0; }
.uh-pdp-head__title { color: var(--uh-plum); font-family: var(--uh-serif); font-size: 40px; font-weight: 600; line-height: 43px; letter-spacing: -0.01em; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-pdp-head__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.uh-pdp-head__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: none; }
.uh-pdp-head__price { color: var(--uh-plum); font-family: var(--uh-serif); font-size: 44px; font-weight: 600; line-height: 46px; letter-spacing: -0.015em; font-variation-settings: "SOFT" 0, "WONK" 1; white-space: nowrap; }
.uh-pdp-head__status { margin-right: -0.06em; color: var(--uh-gold-deep); font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; white-space: pre; }

/* Facts band (17:497) */
.uh-facts { display: flex; justify-content: space-between; padding: 36px min(80px, 5.56vw); background: var(--uh-cream); white-space: nowrap; }
.uh-facts__item { display: flex; flex-direction: column; gap: 5px; }
.uh-facts__value { color: var(--uh-plum); font-family: var(--uh-serif); font-size: 26px; font-weight: 600; line-height: 32px; letter-spacing: -0.002em; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-facts__label { color: var(--uh-muted); }

/* About (17:516) and Wellness (251:1044) reuse the split section */
.uh-split--pdp { gap: min(72px, 5vw); padding: 88px var(--uh-gutter) 72px; }
.uh-split--pdp .uh-split__intro { width: min(360px, 25vw); gap: 14px; }

/* Health Read (17:523): intro and lead card on the left, six scores in two columns */
.uh-hread { display: flex; align-items: flex-start; gap: min(88px, 6.11vw); padding: 88px var(--uh-gutter) 92px; background: var(--uh-teal-tint); }
.uh-hread__intro { display: flex; flex-direction: column; gap: 20px; width: min(400px, 27.78vw); flex: none; }
.uh-hread .uh-eyebrow { color: var(--uh-teal); }
.uh-hread__note { color: var(--uh-teal); font-size: 16px; line-height: 28px; white-space: pre-wrap; }
.uh-hread__note a:hover { text-decoration: underline; }
.uh-hread__form { width: 100%; }
.uh-hread__scores { display: flex; gap: 56px; flex: 1 1 0; min-width: 0; }
.uh-hread__col { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.uh-hread__row {
	--tone: var(--uh-teal);
	--rule: rgb(8 153 171 / 0.2);
	display: grid;
	grid-template-columns: 20px 1fr auto;
	align-items: center;
	column-gap: 10px;
	row-gap: 8px;
	padding: 22px 0;
	border-top: 1px solid var(--rule);
}
.uh-hread__row--gold { --tone: var(--uh-gold-deep); --rule: var(--uh-gold-deep); }
.uh-hread__row:first-child { padding-top: 0; border-top: 0; }
.uh-hread__icon { width: 20px; height: 20px; }
.uh-hread__label { color: var(--uh-charcoal); font-family: var(--uh-serif); font-size: 17px; font-weight: 600; line-height: 22px; font-variation-settings: "SOFT" 0, "WONK" 1; white-space: nowrap; }
.uh-hread__rating { margin-right: -0.06em; color: var(--tone); font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; white-space: nowrap; }
.uh-hread__line { grid-column: 1 / -1; }

/* Agent CTA (17:577) */
.uh-pdp-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px min(80px, 5.56vw); }
.uh-pdp-cta__copy { display: flex; align-items: center; gap: 22px; }
.uh-pdp-cta__avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; background: linear-gradient(126.87deg, #cdaa5f 14.286%, #4b1455 85.714%); }
.uh-pdp-cta__text { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.uh-pdp-cta__title { color: #fff; font-family: var(--uh-serif); font-size: 24px; font-weight: 600; line-height: 29px; letter-spacing: -0.002em; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-pdp-cta .uh-body { color: var(--uh-sand); }

/* Similar (17:586): three cards */
.uh-similar { display: flex; flex-direction: column; gap: 36px; padding: 84px var(--uh-gutter) 90px; background: #fff; }
.uh-similar__grid { display: flex; align-items: flex-start; gap: 28px; }
.uh-similar__item { flex: 1 1 0; min-width: 0; }

@media (max-width: 1023px) {
	.uh-crumb { padding: 18px 26px 6px; }

	.uh-gallery { flex-direction: column; gap: 10px; height: auto; padding: 12px 26px 20px; }
	.uh-gallery__main { flex: none; height: 260px; }
	.uh-gallery__badge { top: 16px; left: 16px; }
	.uh-gallery__side { flex-direction: row; gap: 10px; width: auto; }
	.uh-gallery__thumb { height: 110px; }

	.uh-pdp-head { flex-direction: column; align-items: stretch; gap: 10px; padding: 24px 26px 20px; }
	.uh-pdp-head__main { gap: 10px; }
	.uh-pdp-head__title { font-size: 30px; line-height: 32px; }
	.uh-pdp-head__side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
	.uh-pdp-head__price { font-size: 36px; line-height: 37px; }
	.uh-pdp-head__btn { width: 100%; justify-content: center; }

	.uh-facts { flex-wrap: wrap; justify-content: flex-start; gap: 24px 0; padding: 32px 26px; }
	.uh-facts__item { width: 112px; gap: 4px; }
	.uh-facts__value { font-size: 24px; line-height: 29px; }

	.uh-split--pdp { gap: 14px; padding: 48px 26px 40px; }
	.uh-split--pdp .uh-split__intro { width: auto; gap: 14px; }
	.uh-split--pdp .uh-split__text { gap: 14px; }

	.uh-hread { flex-direction: column; align-items: stretch; gap: 20px; padding: 48px 26px 52px; }
	.uh-hread__intro,
	.uh-hread__col { display: contents; }
	.uh-hread .uh-eyebrow { order: 1; }
	.uh-hread .uh-h2 { order: 2; font-size: 27px; line-height: 30px; }
	.uh-hread__scores { order: 3; flex-direction: column; gap: 20px; }
	.uh-hread__form { order: 4; }
	.uh-hread__note.uh-only-m { order: 5; font-size: 14px; line-height: 16px; letter-spacing: -0.005em; }
	.uh-hread__row,
	.uh-hread__row:first-child { grid-template-columns: 22px 1fr auto; align-items: start; column-gap: 12px; row-gap: 4px; padding: 18px 20px; border: 0; border-radius: 6px; background: #fff; }
	.uh-hread__icon { width: 22px; height: 22px; }
	.uh-hread__rating { align-self: center; }
	.uh-hread__line { grid-column: 2 / -1; }
	/* The lead card keeps its desktop size and shadow on mobile (281:1414), unlike the Sell hero card. */
	.uh-hread__form { gap: 18px; padding: 36px; box-shadow: 0 24px 50px rgb(26 8 31 / 0.35); }
	.uh-hread__form .uh-form-card__title { font-size: 26px; line-height: 32px; white-space: normal; }
	.uh-hread__form .uh-field input { padding-block: 15px; }

	.uh-pdp-cta { flex-direction: column; align-items: stretch; gap: 16px; padding: 44px 26px; }
	.uh-pdp-cta__text { gap: 16px; white-space: normal; }
	.uh-pdp-cta__title { font-size: 25px; line-height: 28px; letter-spacing: -0.005em; }
	.uh-pdp-cta .uh-btn { justify-content: center; }

	.uh-similar { gap: 20px; padding: 48px 26px; }
	.uh-similar .uh-h2 { font-size: 26px; line-height: 29px; }
	.uh-similar__grid { flex-direction: column; align-items: stretch; gap: 20px; }
}

/* ===== Scroll reveal (marketing pages) =====
   assets/js/reveal.js tags the children of below-the-fold sections once, then reveals them as they come into view.
   No JS or reduced motion: nothing is hidden. Heroes, Listings tools and Property Detail's top never take part. */
.uh-reveal { opacity: 0; transform: translateY(24px); }
.uh-reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 600ms var(--uh-ease-out), transform 600ms var(--uh-ease-out);
	transition-delay: calc(var(--uh-reveal-i, 0) * 60ms);
}

/* ===== Widths between and beyond the Figma frames =====
   The 390 and 1440 frames set lines that never wrap. Narrower phones and small laptops let those lines wrap
   instead of scrolling the page sideways (site-qa.js checks 320 to 1920). Neither range touches 390 or 1440. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.uh-checklist__list li { white-space: normal; }
}
@media (max-width: 1023px) {
	.uh-lcta .uh-btn { white-space: normal; text-align: center; }
}
@media (max-width: 389px) {
	.uh-form-card__title,
	.uh-hread__label { white-space: normal; }
	.uh-btn { white-space: normal; }
	.uh-hread__row,
	.uh-hread__row:first-child { grid-template-columns: 22px minmax(0, 1fr) auto; }
}

/* ===== Basic pages and 404 (no Figma frames) ===== */
.uh-basic { display: flex; flex-direction: column; gap: 24px; max-width: 760px; padding: 88px var(--uh-gutter) 96px; }
.uh-basic__content { display: flex; flex-direction: column; gap: 18px; }
.uh-basic__content a { color: var(--uh-plum); text-decoration: underline; text-underline-offset: 3px; }
.uh-notfound { min-height: 60vh; justify-content: center; }
@media (max-width: 1023px) {
	.uh-basic { gap: 18px; padding: 48px 26px 56px; }
	.uh-basic .uh-h2 { font-size: 28px; line-height: 31px; }
	.uh-basic__content { font-size: 16px; line-height: 28px; }
}
.uh-basic__content h2 { margin-top: 18px; color: var(--uh-plum); font-family: var(--uh-serif); font-size: 24px; font-weight: 600; line-height: 29px; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-basic__content ul { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; list-style: disc; }
.uh-basic__content p,
.uh-basic__content li { max-width: 68ch; }

/* The Journal (no Figma frame): property-card styles for article cards */
.uh-journal { display: flex; flex-direction: column; gap: 40px; padding: 88px var(--uh-gutter) 96px; }
.uh-journal__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.uh-journal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.uh-jcard .uh-card__photo { height: auto; aspect-ratio: 16 / 10; }
.uh-jcard .uh-card__address { font-family: var(--uh-serif); font-weight: 600; font-variation-settings: "SOFT" 0, "WONK" 1; }
.uh-journal__more { display: flex; justify-content: space-between; gap: 24px; }
.uh-journal__empty { max-width: 640px; }
.uh-jpost__img { width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 1023px) {
	.uh-journal { gap: 28px; padding: 48px 26px 56px; }
	.uh-journal .uh-h2 { font-size: 28px; line-height: 31px; }
	.uh-journal__grid { grid-template-columns: 1fr; gap: 22px; }
	.uh-basic__content h2 { font-size: 22px; line-height: 27px; }
}
