:root {
  --estate-ink: #17242b;
  --estate-gold: #d0b47a;
  --estate-ivory: #f5f2ec;
  --estate-line: #e0d8ca;
  --estate-serif: Georgia, 'Times New Roman', serif;
}
.estate-hero.hero { padding: 0 !important; min-height: 0 !important; background: #f4f0e7; color: var(--estate-ink); }
.estate-cover {
  background: linear-gradient(90deg, #151912ed, #151912b3 42%, #15191221 85%), url('/estate-editorial.webp') center 48% / cover;
  color: white;
  padding: clamp(92px, 13vw, 174px) 0 clamp(92px, 12vw, 170px);
}
.estate-cover .estate-kicker, .estate-international .estate-kicker { color: #eed5a4; }
.estate-kicker { color: #765725; font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
.estate-cover h1, .estate-home-only h2, body.estate-home #properties h2 {
  font-family: var(--estate-serif); font-weight: 400; letter-spacing: -.035em;
}
.estate-hero .estate-cover h1 { color: white; font-size: clamp(2.75rem, 6.5vw, 6rem) !important; line-height: 1.04 !important; letter-spacing: -.055em; max-width: 1100px; }
.estate-hero .estate-cover p { color: #fff; max-width: 610px; line-height: 1.65; }
.estate-hero .estate-search {
  position: relative; display: grid; grid-template-columns: 1fr 1.4fr 1.15fr .8fr .8fr .75fr auto;
  align-items: end; gap: 12px; margin: -39px auto 0; padding: 20px; border-radius: 12px;
  box-shadow: 0 12px 34px #17242b24; background: white; max-width: min(1200px, calc(100% - 36px));
}
.estate-search label { color: var(--estate-ink); }
.estate-search input, .estate-search select { min-width: 0; width: 100%; }
.estate-search .btn { white-space: nowrap; }
.estate-home-only { display: none; }
.estate-home .estate-home-only { display: block; }
.estate-home-only h2, body.estate-home #properties h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; }
.estate-service-grid, .estate-category-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; }
.estate-service-grid article, .estate-category-links button {
  background: var(--estate-ivory); border: 1px solid var(--estate-line); border-radius: 10px; color: var(--estate-ink); padding: 22px;
}
.estate-service-grid a { color: #604614; text-decoration: underline; text-underline-offset: .2em; }
.estate-category-links button { text-align: left; min-height: 60px; font-weight: 600; }
.estate-category-links button:hover { border-color: #765725; }
.estate-international { background: var(--estate-ink); color: white; }
.estate-international h2 { color: white; max-width: 780px; }
.estate-international .btn { display: inline-block; background: var(--estate-gold); color: var(--estate-ink); }
.estate-tour-player { width: 100%; aspect-ratio: 16/9; background: var(--estate-ink); border: 0; border-radius: 10px; }
.estate-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; align-items: center; }
.estate-controls .filter { min-height: 44px; }
.estate-dialog { width: min(550px, calc(100vw - 28px)); max-height: 88dvh; border: 1px solid var(--estate-line); border-radius: 14px; padding: 24px; color: var(--estate-ink); background: white; }
.estate-dialog::backdrop { background: #17242baa; }
.estate-dialog form { display: grid; gap: 12px; }
.estate-dialog input, .estate-dialog select { width: 100%; }
.estate-media-row { margin: 12px 0; padding: 12px; border: 1px solid var(--estate-line); border-radius: 8px; }
.estate-media-row a { overflow-wrap: anywhere; }
.estate-dialog img { width: auto; max-width: 100%; max-height: 180px; }
:focus-visible { outline: 2px solid #997233; outline-offset: 3px; }
@media (max-width: 1000px) {
  .estate-hero .estate-search { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .estate-hero .estate-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estate-search .btn { grid-column: 1 / -1; }
}
.estate-gallery-photo { object-fit: contain; }
.estate-controls button img { display: block; width: 92px; height: 54px; object-fit: cover; margin: 0 auto 4px; border-radius: 4px; }
.estate-controls button[aria-pressed="true"] { background: var(--estate-ink); color: white; }
.estate-dialog > button, .estate-dialog > label { margin: 0 8px 12px 0; }
.estate-dialog > label { display: block; }
.estate-property-title { font: 400 clamp(2.1rem,5vw,4rem)/1.1 var(--estate-serif); color: var(--estate-ink); }
html[data-theme="dark"] .estate-property-title { color: #fff; }
.estate-search input, .estate-search select { background:#faf9f6; border:1px solid #d7d0c3; border-radius:6px; min-height:44px; padding:8px; }
@media (max-width: 1180px) {
  header .desktop-browse a[href*="short_stay"], header .desktop-browse a[href*="#venues"] { display:none; }
}

html:not([data-theme="dark"]) .estate-home .kicker { color: #765725; }
html:not([data-theme="dark"]) .estate-home .muted { color: #566469; }
#properties, #property-management, #contact, #venues, #team { scroll-margin-top: 96px; }
html.estate-landing,
html.estate-landing :is(body, button, input, select, textarea, dialog, table, th, td, main, article, section, header, footer) {
  font-family: system-ui, Arial, sans-serif !important;
}

.estate-cover h1 em { color: #efdbad; font-weight: 400; }
.estate-hero .estate-cover p { max-width: 32rem; margin-bottom: 25px; }
.estate-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.estate-action { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px; font-size: .88rem; font-weight: 650; }
.estate-action-light { background: #ecd8ab; color: #242719; border: 1px solid #ecd8ab; }
.estate-action-outline { border: 1px solid #e3d6b7; color: #fffaf0; background: #15191288; }
.estate-action:hover { background: #fff2d6; color: #242719; }
.estate-hero .estate-search { border: 1px solid #ded5c1; border-radius: 3px; box-shadow: 0 12px 32px #28271924; z-index: 1; }
.estate-hero .estate-search .btn { background: #31382b; }
.estate-hero .estate-search input, .estate-hero .estate-search select { border-radius: 2px; }
.estate-cinema { background: #20251f; color: #fcf4e4; scroll-margin-top: 90px; padding-block: clamp(60px, 8vw, 112px); }
.estate-cinema .estate-kicker { color: #e4c996; }
.estate-cinema h2 { color: #fff7e8; margin: 0; font-size: clamp(2.6rem, 6vw, 5rem); }
.estate-cinema-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.estate-cinema-heading > p { color: #e0d6c1; margin: 0 0 4px; }
.estate-screening { display: grid; grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr); align-items: start; gap: 22px; }
.estate-film { min-width: 0; }
.estate-film-screen { aspect-ratio: 16 / 9; background: #121612; }
.estate-film-screen .estate-tour-player { display: block; width: 100%; height: 100%; border-radius: 0; }
.estate-film-play {
  position: relative; isolation: isolate; display: grid; width: 100%; height: 100%; place-content: center; justify-items: center; gap: 12px;
  border: 0; background: #151912; color: white; font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
}
.estate-film-play img, .estate-film-play::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; }
.estate-film-play::before { content: ""; background: #11160e66; z-index: -1; }
.estate-play-symbol { display: grid; place-items: center; padding-left: .15em; width: 64px; height: 64px; border: 1px solid #fff7e8; background: #12161266; border-radius: 50%; font-size: 1.3rem; }
.estate-film-play:hover .estate-play-symbol { color: #262a20; background: #ecd8ab; border-color: #ecd8ab; }
.estate-film-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #ffffff38; }
.estate-film-caption h3 { margin: 0 0 5px; color: #fff7e8; font: 400 clamp(1.5rem, 3vw, 2.2rem)/1.15 var(--estate-serif); }
.estate-film-caption p { margin: 0; color: #e0d6c1; }
.estate-film-links { display: flex; flex-wrap: wrap; gap: 14px; }
.estate-film-links a { color: #ecd8ab; text-decoration: underline; text-underline-offset: 4px; }
.estate-film-queue { display: grid; gap: 8px; }
.estate-film-choice { display: grid; grid-template-columns: 25px 1fr; align-items: center; gap: 3px 8px; text-align: left; padding: 14px; border: 1px solid #ffffff38; background: transparent; color: #fff7e8; }
.estate-film-choice[aria-pressed="true"], .estate-film-choice:hover { border-color: #ddc696; background: #ddc6961a; }
.estate-choice-icon { grid-row: span 2; color: #ecd8ab; }
.estate-film-place { grid-column: 2; color: #e0d6c1; font-size: .85rem; }
@media (max-width: 720px) {
  .estate-cover { background-image: linear-gradient(90deg,#151912e8,#15191278), url('/estate-editorial-mobile.webp'); padding: 70px 0 92px; }
  .estate-cinema-heading { display: block; }
  .estate-cinema-heading > p { margin-top: 9px; }
  .estate-screening { grid-template-columns: minmax(0, 1fr); gap: 15px; }
}

.estate-play-symbol::after {
  content: ""; width: 0; height: 0; margin-left: 3px;
  border-block: 9px solid transparent; border-left: 14px solid currentColor;
}
html.estate-landing header .desktop-browse a { white-space: nowrap; font-size: .875rem; }
html.estate-landing header .header-list { white-space: nowrap; background: #e5cf9e; color: #22271e; }
@media (max-width: 1320px) {
  html.estate-landing header .desktop-browse a[href*="short_stay"],
  html.estate-landing header .desktop-browse a[href*="#venues"] { display: none; }
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
:root { --estate-serif: "Cormorant Garamond", Georgia, serif; }
.estate-hero .estate-cover h1 { font-weight: 550; }
.estate-cover h1 em { font-weight: 500; }
.estate-home-only h2, body.estate-home #properties h2, .estate-property-title { font-weight: 550; }
.estate-property-title { margin: 0 0 .45em; font-size: clamp(3rem, 7vw, 5.75rem); }

.estate-dialog,
#saleEnquiryDialog,
#customerAuthDialog {
  border: 1px solid #ded4bf !important;
  border-radius: 18px !important;
  background: #faf8f2 !important;
  color: #22281f !important;
  box-shadow: 0 28px 90px #10151255;
}
.estate-dialog { width: min(640px, calc(100vw - 24px)); max-height: 92dvh; overflow: auto; overscroll-behavior: contain; padding: clamp(21px, 4vw, 36px); }
.estate-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.estate-dialog-heading h2, #saleEnquiryDialog h2, #customerAuthDialog h2, #enquiryModal h2, #inlineBookingSlot h3 {
  font: 600 clamp(2.15rem, 5vw, 3.25rem)/1.02 var(--estate-serif);
  color: #22281f;
  letter-spacing: -.025em;
  margin: 0 0 12px;
}
.estate-dialog-close {
  display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid #cec4b0; border-radius: 50%; color: #22281f; font-size: 25px;
}
.estate-dialog-close:hover { background: #eee7d6; }
.estate-dialog::backdrop, #saleEnquiryDialog::backdrop, #customerAuthDialog::backdrop { background: #161c16ae; }
.estate-viewing-property { color: #725527; font-size: .83rem; font-weight: 700; margin: 0 0 12px; }
.estate-viewing-intro { line-height: 1.5; margin: 0 0 18px; }
.estate-dialog .estate-viewing-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.estate-viewing-form :is([role="status"], .estate-timezone, button[type="submit"]) { grid-column: 1 / -1; }
.estate-viewing-form [role="status"]:empty { display: none; }
.estate-viewing-form [role="status"], .estate-timezone { margin: 0; font-size: .84rem; }
.estate-timezone { color: #545a4f; }
.estate-viewing-alternative { display: inline-block; margin-top: 14px; color: #634c27; text-underline-offset: 4px; text-decoration: underline; }

#inlineBookingSlot .space-request, #enquiryModal > div {
  background: #faf8f2;
  color: #22281f;
  border: 1px solid #ded4bf;
  border-radius: 16px;
  box-shadow: 0 16px 36px #242d2112;
}
#inlineBookingSlot .space-request { padding: clamp(20px, 4vw, 36px); }
:is(.estate-viewing-form, #saleEnquiryDialog form, #customerAuthDialog form, #enquiryModal form, #inlineBookingSlot form) label {
  color: #31382c; font-size: .85rem; font-weight: 650; line-height: 1.4;
}
:is(.estate-dialog form, #saleEnquiryDialog form, #customerAuthDialog form, #enquiryModal form, #inlineBookingSlot form) :is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="hidden"]) {
  box-sizing: border-box; max-width: 100%; width: 100%; min-height: 46px;
  padding: 10px 12px; margin-top: 5px; font-size: 1rem; font-weight: 400;
  border: 1px solid #bdb29a; border-radius: 7px; background: #fffefa; color: #242920;
}
:is(.estate-dialog form, #saleEnquiryDialog form, #customerAuthDialog form, #enquiryModal form, #inlineBookingSlot form) [type="submit"] {
  min-height: 47px; border-radius: 7px; background: #29342a; color: white;
}
:is(.estate-dialog form, #saleEnquiryDialog form, #customerAuthDialog form, #enquiryModal form, #inlineBookingSlot form) :is(input, select, textarea):focus-visible {
  outline: 2px solid #80622d; outline-offset: 2px;
}

.estate-property-screen { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 16 / 9; background: #202820; border-radius: 12px; }
.estate-property-screen .estate-tour-player { display: block; width: 100%; height: 100%; position: absolute; inset: 0; border-radius: 0; }
.estate-property-screen .estate-gallery-photo { object-fit: contain; }
.estate-gallery-toolbar, .estate-photo-select { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.estate-gallery-toolbar .filter { min-height: 44px; }
.estate-photo-select .filter { min-width: 40px; min-height: 40px; padding: 6px; }
.estate-gallery-toolbar [aria-pressed="true"], .estate-photo-select [aria-pressed="true"], .estate-gallery-toolbar .estate-video-control {
  background: #29342a; color: #fffaf0; border-color: #29342a;
}
.estate-gallery-counter, .estate-gallery-note { color: #596559; font-size: .85rem; margin: 8px 0; }
html[data-theme="dark"] :is(.estate-gallery-counter,.estate-gallery-note) { color: #ddded2; }
@media (prefers-reduced-motion: no-preference) {
  .estate-property-screen .estate-gallery-photo { animation: estate-photo-enter .35s ease-out both; }
  .estate-photo-playing .estate-gallery-photo { animation: estate-photo-pan 4s ease-out both; }
  @supports (animation-timeline: view()) {
    #propertyGrid .property-gallery { overflow: hidden; }
    #propertyGrid .property-gallery img {
      animation: estate-scroll-image linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}
@keyframes estate-photo-enter { from { opacity: .5; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes estate-photo-pan { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
@keyframes estate-scroll-image { 0%, 100% { transform: scale(1.01); } 50% { transform: scale(1.08); } }
@media (max-width: 500px) {
  .estate-dialog .estate-viewing-form { grid-template-columns: minmax(0, 1fr); }
}
