/* New editorial surfaces inherit the accepted live type, palette and identity. */
.editorial-page .site-header { background: var(--chalk); }
.editorial-page .site-header.is-over-dark { background: var(--sable-green); }
.editorial-page main > section { min-height: 0; }
.editorial-page main > .homes-opening { min-height: 100svh; }
.homes-opening h1 { margin: 0; color: var(--film-yellow); font: 350 clamp(42px, 4.5vw, 68px)/1 var(--serif); letter-spacing: -.035em; }
.homes-explorer { padding: 0 var(--page) 100px; scroll-margin-top: 125px; }
.home-selection { display: flex; gap: clamp(45px, 8vw, 130px); padding: 12px 0 34px; }
.home-selection__level > span { font: 500 9px var(--utility); letter-spacing: .12em; text-transform: uppercase; }
.home-selection__level > div { display: flex; gap: 26px; margin-top: 10px; }
.home-selection a { display: inline-block; padding: 8px 0; min-width: 34px; font: 400 24px/1 var(--serif); position: relative; }
.home-selection a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 16px; height:var(--hairline); background: currentColor; opacity: 0; transition:width 220ms var(--m-curve,cubic-bezier(.45,0,.55,1)), opacity 220ms var(--m-curve,cubic-bezier(.45,0,.55,1)); }
.home-selection a:hover::after { opacity: .6; width: 100%; }
.home-selection a[aria-current]::after { opacity: 1; width: 100%; }
.residence { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding-top: 42px; scroll-margin-top: 145px; }
.residence__story { max-width: 450px; }
.residence .eyebrow { margin: 0 0 22px; }
.residence h2 { font: 350 clamp(42px, 4.3vw, 66px)/1.02 var(--serif); letter-spacing: -.035em; margin: 0 0 28px; text-wrap: balance; }
.residence__copy { max-width: 400px; font-size: 15px; font-weight: 300; line-height: 1.7; }
.residence__copy p { margin: 0 0 16px; }
.residence__facts { display: flex; flex-wrap: wrap; gap: 22px 30px; margin: 30px 0; }
.residence__facts dt { font: 500 9px var(--utility); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; }
.residence__facts dd { margin: 0; font-size: 15px; font-weight: 300; }
.residence__facts > div:last-child { flex-basis: 100%; }
.residence__features { font-size: 13px; font-weight: 300; line-height: 1.65; margin-bottom: 30px; max-width: 390px; }
.residence__features summary { cursor: pointer; padding: 8px 0; width: fit-content; }
.residence__features ul { padding-left: 18px; }
.residence__enquire { display: inline-block; font-size: 15px; }
.residence__plan { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.residence__plan > a { display: flex; align-items: center; justify-content: center; min-height: 330px; }
.residence__plan img { width: 100%; height: auto; max-height: 560px; object-fit: contain; mix-blend-mode: multiply; }
.residence__plan figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; font-size: 12px; font-weight: 300; }
.plan-note { max-width: 470px; margin: 18px 0 0; font-size: 11px; line-height: 1.6; font-weight: 300; opacity: .78; }
.editorial-design { background: var(--sable-green); color: var(--chalk); padding: 125px var(--page) 135px; display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.editorial-design h2 { font: 330 clamp(54px, 5.9vw, 90px)/.97 var(--serif); letter-spacing: -.045em; margin: 0; }
.editorial-design > div { max-width: 480px; padding-top: 8px; font-size: 16px; font-weight: 300; line-height: 1.7; }
.editorial-design p { margin: 0 0 22px; }
.editorial-design .editorial-lead { font: 350 clamp(28px, 2.5vw, 38px)/1.2 var(--serif); letter-spacing: -.02em; margin-bottom: 30px; }
.homes-contact { padding: 125px var(--page); display: grid; grid-template-columns: 1.2fr .8fr; gap: 9vw; align-items: center; }
.homes-contact img { width: 100%; height: 390px; object-fit: cover; }
.homes-contact h2 { font: 330 clamp(50px, 5vw, 78px)/.97 var(--serif); letter-spacing: -.045em; margin: 0 0 35px; }
.editorial-home main > .editorial-place, .editorial-home main > .editorial-design,
.editorial-home main > .editorial-floorplans, .editorial-home main > .editorial-download,
.editorial-home main > .editorial-contact { min-height: 0; }
.editorial-place { padding: 130px var(--page) 140px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; }
.editorial-place h2, .editorial-floorplans h2, .editorial-download h2, .editorial-contact h2 { font: 330 clamp(56px, 5.9vw, 92px)/.97 var(--serif); letter-spacing: -.045em; margin: 0 0 35px; }
.editorial-place__copy { max-width: 480px; font-weight: 300; }
.editorial-place__copy p { max-width: 390px; font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.editorial-place__copy .editorial-lead { font: 350 30px/1.25 var(--serif); margin: 38px 0 28px; }
.editorial-place figure { margin-top: 100px; }
.editorial-place img { width: 100%; height: 540px; object-fit: cover; object-position: 50%; }
.editorial-place figcaption { font-size: 10px; font-weight: 300; margin-top: 16px; }
.editorial-floorplans, .editorial-download, .editorial-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; padding: 125px var(--page); }
.editorial-floorplans > div:last-child, .editorial-download > div:last-child { max-width: 530px; }
.editorial-floorplans .editorial-lead { font: 350 35px/1.25 var(--serif); letter-spacing: -.02em; margin: 30px 0 40px; }
.homes-index { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 38px; font: 400 29px var(--serif); }
.editorial-download { background: var(--bone); padding-top: 85px; padding-bottom: 85px; }
.editorial-download h2 { font-size: clamp(48px, 4.5vw, 70px); margin: 0; }
.editorial-download p { font-weight: 300; font-size: 15px; margin: 0 0 26px; max-width: 360px; }
.download-plans { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 26px; font-size: 14px; }
.editorial-download .plan-note { font-size: 11px; margin: 0; max-width: 440px; }
.editorial-contact { padding-top: 130px; padding-bottom: 145px; align-items: center; }
.editorial-contact__register { font: 350 36px var(--serif); letter-spacing: -.03em; }
.editorial-contact p { margin-top: 32px; font-size: 14px; }
.editorial-contact .credits { width: 100%; margin: 0; gap: 35px; }
@media (max-width: 1000px) {
  .residence { gap: 5vw; }
  .home-selection { gap: 9vw; }
  .home-selection__level > div { gap: 18px; }
}
@media (max-width: 720px) {
  .site-header nav a[href="/homes/"] { display: inline-block; align-self: center; }
  .homes-opening h1 { font-size: clamp(38px, 10vw, 46px); }
  .homes-explorer { padding-top: 36px; }
  .homes-explorer { padding-bottom: 65px; }
  .home-selection { gap: 0; justify-content: space-between; padding-bottom: 20px; }
  .home-selection__level > span { font-size: 8px; letter-spacing: .05em; }
  .home-selection__level > div { gap: 9px; }
  .home-selection a { font-size: 23px; min-width: 29px; padding: 12px 0; }
  .residence { display: flex; flex-direction: column; padding-top: 28px; gap: 26px; }
  .residence__story { display: contents; }
  .residence .eyebrow { order: 0; margin: 0 0 -8px; font-size: 8px; }
  .residence h2 { order: 1; margin: 0; font-size: 47px; max-width: 320px; }
  .residence__plan { order: 2; }
  .residence__plan > a { min-height: 0; }
  .residence__plan img { max-height: none; }
  .residence__plan figcaption { margin-top: 20px; gap: 14px; font-size: 11px; }
  .residence__plan figcaption > span { flex-basis: 100%; }
  .plan-note { font-size: 10px; margin-top: 16px; }
  .residence__copy { order: 3; font-size: 15px; }
  .residence__facts { order: 4; margin: 0; }
  .residence__features { order: 5; margin: 0; }
  .residence__enquire { order: 6; width: fit-content; }
  .editorial-design { padding: 78px var(--page); display: block; }
  .editorial-design h2 { font-size: clamp(47px, 13.5vw, 66px); }
  .editorial-design > div { margin-top: 45px; font-size: 15px; }
  .editorial-design .editorial-lead { font-size: 31px; }
  .homes-contact { padding: 68px var(--page) 80px; display: block; }
  .homes-contact img { height: 260px; margin-bottom: 42px; }
  .homes-contact h2 { font-size: 54px; }
  .editorial-place { display: block; padding: 78px var(--page); }
  .editorial-place h2, .editorial-floorplans h2, .editorial-contact h2 { font-size: 57px; }
  .editorial-place__copy .editorial-lead { font-size: 28px; margin-top: 30px; }
  .editorial-place figure { margin: 44px calc(-1 * var(--page)) 0; }
  .editorial-place img { height: 360px; object-position: 49% 50%; }
  .editorial-place figcaption { padding: 0 var(--page); }
  .editorial-floorplans, .editorial-download, .editorial-contact { display: block; padding: 75px var(--page); }
  .editorial-floorplans .editorial-lead { font-size: 30px; margin: 30px 0; }
  .homes-index { gap: 20px; font-size: 27px; }
  .editorial-download h2 { font-size: 48px; margin-bottom: 35px; }
  .editorial-contact .credits { margin-top: 65px; }
  .editorial-contact__register { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .home-selection a::after { transition: none; } }

/* Original SVG legends retain the PDF facts; stack the schedule for phone readability. */
.residence__legend { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 24px; }
.residence__plan .residence__schedule { width: 58%; max-height: none; }
.residence__plan .residence__key { width: 34%; max-height: none; }
@media (max-width: 720px) {
  .residence__legend { flex-direction: column; gap: 18px; }
  .residence__plan .residence__schedule { width: 100%; }
  .residence__plan .residence__key { width: 180px; max-width: 100%; }
}

/* Match the Homes imagery to the warm, restrained Story film palette. */
.homes-page .media-plate--homes > img,
.interiors-materials-page .media-plate--interiors > img { filter: sepia(.24) saturate(.98) contrast(1) brightness(1.04); }

/* Keep the closing invitation above the complete illustration. */
.homes-contact--collage { position: relative; display: block; height: auto; padding: 128px 0 0; overflow: hidden; isolation: isolate; background: var(--chalk); }
.homes-contact--collage > div { position: relative; width: min(calc(100% - 2 * var(--page)),1120px); margin-inline: auto; text-align: center; }
.homes-contact--collage .homes-contact__exterior { position: static; display: block; width: 106%; max-width: none; height: auto; margin: 48px -3% 0; transform: none; filter: sepia(.08) saturate(.95) contrast(1) brightness(1.06); mix-blend-mode: multiply; }
@media (max-width: 720px) {
  .homes-contact--collage { padding-top: 108px; }
  .homes-contact--collage h2 { font-size: 50px; }
  .homes-contact--collage .homes-contact__exterior { margin-top: 32px; }
}
