.estate-main {
  width: min(1740px, 100%);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 86px) 4.25% clamp(56px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(220px, .68fr) minmax(0, 2fr);
  gap: clamp(25px, 4vw, 74px);
  align-items: center;
}
.estate-intro { max-width: 29rem; }
.estate-intro .back-link { display: inline-block; margin-bottom: clamp(30px, 4vw, 62px); }
.estate-intro .eyebrow { color: #646a54; margin: 0 0 1rem; }
.estate-intro h1 { font: 400 clamp(3.25rem, 5.1vw, 6rem)/.92 var(--serif); letter-spacing: -.047em; margin: 0 0 1.3rem; }
.estate-intro > p:not(.eyebrow) { color: var(--body); line-height: 1.65; font-size: 1rem; max-width: 32ch; }
.estate-picker { margin: 2rem 0 1.2rem; display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); gap: .25rem; }
.estate-picker button { min-height: 44px; min-width: 2.6rem; padding: .4rem; border: 0; color: #57594f; background: transparent; border-bottom: 2px solid transparent; font: 500 .9rem var(--sans); }
.estate-picker button[aria-pressed="true"] { color: #252b22; border-color: #777c62; }
.estate-selection p:first-child { font: 400 1.8rem/1.1 var(--serif); margin: 0 0 .35rem; }
.estate-selection p:nth-child(2) { font-size: .87rem; color: #5b6055; margin: 0 0 .9rem; }
.estate-selection a { display: inline-block; padding: .5rem 0; font-size: .9rem; border-bottom: 1px solid #74765e; }
.estate-model { min-width: 0; position: relative; margin: 0; }
.estate-stage { position: relative; height: clamp(390px, 40vw, 700px); background: #f1eee6; overflow: hidden; border: 1px solid #d9d7ca; }
.estate-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.estate-stage canvas:active { cursor: grabbing; }
.estate-stage canvas:focus-visible { outline-offset: -5px; }
#estate-markers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.estate-marker { pointer-events: auto; position: absolute; left: 0; top: 0; height: 44px; width: 44px; display: grid; place-items: center; border: 0; background: transparent; padding: 0; color: #fff; }
.estate-marker span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #3e483b; border: 1px solid #d9dccb; box-shadow: 0 2px 6px #31382f42; font: 500 .75rem/1 var(--sans); }
.estate-marker[aria-pressed="true"] span { background: #fffbed; color: #343c32; border-color: #3c4639; }
.estate-marker:hover span { box-shadow: 0 0 0 3px #f8f6e9a6; }
.estate-tools { display: flex; justify-content: center; align-items: center; gap: .6rem; margin-top: -24px; position: relative; z-index: 1; width: max-content; max-width: 100%; margin-inline: auto; background: #fcfbf5; border: 1px solid #d6d6c8; border-radius: 3px; box-shadow: 0 5px 16px #474b3c0d; padding: 0 .4rem; }
.estate-tools div { display: flex; align-items: center; }
.estate-tools div + div, .estate-tools .estate-reset { border-left: 1px solid #dbd9cb; }
.estate-tools button { font: 400 1.3rem var(--sans); min-width: 44px; min-height: 46px; border: 0; color: #414637; background: none; }
.estate-tools button:disabled { opacity: .33; }
.estate-tools button:hover:not(:disabled), .estate-picker button:hover { background: #efeee4; }
.estate-tools .estate-reset { padding: 0 .8rem; font-size: .86rem; }
.estate-model figcaption { margin: 1.1rem auto 0; max-width: 67ch; text-align: center; padding: 0 .7rem; }
.estate-model figcaption p { font-size: .83rem; line-height: 1.5; color: #5d6053; margin: .3rem 0; }
.estate-model figcaption p + p { color: #6a6b61; }
.estate-page :focus-visible { outline: 2px solid #61594a; outline-offset: 2px; }
@media(max-width: 900px) {
  .estate-main { padding: 32px 4% 56px; gap: 24px; grid-template-columns: minmax(190px,.7fr) minmax(0,1.5fr); }
  .estate-intro .back-link { margin-bottom: 22px; }
  .estate-picker { gap: 0; }
  .estate-picker button { min-width: 2.25rem; }
}
@media(max-width: 700px) {
  .estate-main { padding: 23px 5% 48px; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .estate-intro { display: contents; }
  .estate-intro .back-link { margin: 0 0 20px; align-self: flex-start; }
  .estate-intro .eyebrow { margin: 0 0 8px; }
  .estate-intro h1 { margin: 0 0 12px; font-size: clamp(2.6rem,9.5vw,4rem); }
  .estate-intro h1 br { display: none; }
  .estate-intro h1 br::after { content: " "; }
  .estate-intro > p:not(.eyebrow) { max-width: 55ch; margin: 0; }
  .estate-model { order: 2; margin-top: 18px; }
  .estate-stage { height: clamp(320px, 98vw, 470px); }
  .estate-selection { order: 4; }
  .estate-picker { order: 3; margin: 20px 0 16px; gap: 6px; }
  .estate-model figcaption { padding: 0; }
}
.estate-marker[hidden] { display: none; }
