/* Version 4 additions: preserve the site's existing palette and type system. */
.reshero__in a:not(.btn) { color: inherit; text-decoration-color: var(--bronze); text-underline-offset: .22em; }
.reshero__in a:not(.btn):hover { color: var(--cream); }
.reshero__in .lead { color: var(--cream); }
.reshero--project { min-height: min(820px, 92svh); padding-top: 160px; }
.reshero--project .display { max-width: 18ch; }
.reshero--longcopy { min-height: 760px; }
.reshero--longcopy .lead { max-width: 66ch; }
.reshero--landscape { aspect-ratio: 16 / 9; min-height: 0; width: 100%; padding: 32px; }
.reshero--landscape .lead { max-width: 46ch; margin: 0; }
.reshero--landscape .reshero__dots { bottom: 12px; }
.reshero__dots { flex-wrap: wrap; max-width: 94%; }
.reshero__dots button { flex-shrink: 0; }
.reshero__controls { position: absolute; z-index: 4; right: var(--gut); top: 24px; display: flex; gap: 6px; }
.reshero__controls button { width: 42px; height: 42px; border: 1px solid rgba(242,235,219,.45); background: rgba(7,17,29,.7); color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.reshero__controls button:hover { background: var(--cream); color: var(--dusk-3); }
.reshero__controls svg { width: 18px; height: 18px; }
.housegrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px 32px; margin-top: 48px; }
.housegrid .slot { background: var(--img) center / cover no-repeat; }
.housegrid .housecard__meta { line-height: 1.9; }
@media (min-width: 761px) {
 .gal.gal--four { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .gal.gal--four .gal__i { grid-column: auto; grid-row: auto; }
}
.project-video { display: block; width: 100%; max-height: 78svh; background: #060d16; margin-top: 36px; }
.project-intro > .lead { max-width: 72ch; }
.project-intro > .carousel { margin-top: 44px; }
.residence-metric { border-top: 1px solid var(--line); padding-block: clamp(32px,4vw,56px); }
.residence-metric__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: clamp(24px,3vw,36px); }
.residence-metric__heading .stats__n { margin: 0; font-size: clamp(30px,3vw,44px); line-height: 1.2; }
.residence-metric__heading .lead { max-width: 70ch; margin: 0; font-size: clamp(17px,1.4vw,21px); line-height: 1.6; text-wrap: pretty; }
.residence-extra { margin-top: 24px; }
.carousel__slide > a { display: block; width: 100%; height: 100%; }
.carousel--contain .carousel__viewport { height: auto !important; aspect-ratio: 16 / 10 !important; background: #eae8e0; }
.carousel--contain .carousel__slide img { object-fit: contain; transform: none !important; }
.copyright-notice .lead { max-width: 72ch; font-size: clamp(18px,1.7vw,23px); }
.copyright-certificates { list-style: none; padding: 24px 0; margin: 28px 0; border-block: 1px solid var(--line); color: var(--bronze); font-size: clamp(18px,1.7vw,23px); line-height: 1.9; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 5px; }
@media (max-width: 760px) {
 .housegrid { grid-template-columns: 1fr; gap: 40px; }
 .residence-metric__heading { gap: 10px; }
 .reshero--longcopy { min-height: 0; padding-top: 100px; padding-bottom: 76px; }
 .reshero--project { min-height: 82svh; padding-top: 130px; }
 .reshero--landscape { padding: 18px 18px 40px; }
 .reshero--landscape .lead { font-size: 13px; line-height: 1.4; }
 .reshero__dots { gap: 10px; }
 .reshero__controls { top: 16px; }
 .reshero__controls button { width: 44px; height: 44px; }
 .carousel--contain .carousel__viewport { aspect-ratio: 4 / 5 !important; }
}
