/* Final UI contract. Keep content, images, and approved image framing intact. */
:root { --section-gap: clamp(48px, 6vw, 80px); }
/* The disclosure overlays the page instead of resizing every banner on open. */
@media (max-width: 1100px) {
  body .site-header nav, body:has(.hero) .site-header nav,
  body .site-header nav.open, body:has(.hero) .site-header nav.open {
    position: absolute; inset: 100% 0 auto; width: 100%;
    padding: 12px max(16px, 3vw) calc(32px + env(safe-area-inset-bottom, 0px)); margin: 0;
    max-height: calc(100dvh - var(--header-height) - 12px);
    overflow-y: auto; overscroll-behavior: contain;
    background: #080808; border-bottom: 1px solid #514632;
    box-shadow: 0 16px 24px #0005;
  }
}
body .site-header nav a[aria-current] { text-underline-offset: 6px; }
body .site-header nav a[href="/contact/"][aria-current] { color: #111c18; }
body .site-header nav a, body #menu, body main .btn, .gallery-filters button {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
/* Repair hero containment without resurrecting the obsolete scroll stage. */
body .home-transition .hero-copy { z-index: 2; overflow: clip; }
/* Fill the initial viewport beneath the stable masthead on every device. */
body .home-transition .hero, body .home-transition .hero-copy {
  height: calc(100svh - var(--header-height)); min-height: 0;
}

body .home-transition .hero-copy .hero-top {
  top: 6%; left: max(20px, calc((100vw - 1160px)/2)); right: 20px;
  max-width: none; text-align: left;
}
body .home-transition .hero-copy .hero-wordmark {
  font: 400 1.4rem/1.4 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0; color: var(--ivory);
}
body .home-transition .hero-copy .hero-bottom {
  left: max(20px, calc((100vw - 1160px)/2)); right: max(20px, calc((100vw - 1160px)/2));
  width: auto; max-width: none; bottom: 32px;
}
body .home-transition .hero-bottom h1.home-welcome-title,
body .home-transition .hero-bottom h1.home-welcome-title em { white-space: normal; }
body:has(.home-transition) .home-transition .intro {
  margin-top: 0; padding: 24px 0 var(--section-gap);
  width: min(1160px, calc(100% - 48px)); min-height: 0;
}
body .home-transition .hero-intro-actions .home-estate-history-section { padding: 0; }
body .home-transition .hero-intro-actions .home-statements { margin-top: 48px; }
body .home-transition .hero-intro-actions .home-statements p {
  max-width: 70ch; margin-inline: auto; line-height: 1.65;
}
body .home-transition .hero-intro-actions .home-at-glance { margin-top: 48px; }
/* Give prose a readable measure, aligned with the chapter introduction. */
body .history-chapter-page .history-chapter-heading,
body .history-chapter-page .history-chapter-prose {
  width: 100%; max-width: 76ch; margin-inline: auto;
}
body .history-chapter-page .history-chapter-prose p { max-width: 70ch; }
body .history-chapter-page .history-chapter-lead { max-width: 60ch; }
body .history-chapter-grid { grid-auto-rows: auto; }
body .history-chapter-grid > .history-chapter-card { height: auto; }
body .history-chapter-card > .history-chapter-link { padding-top: 20px; }
/* Remove artificial image/text misalignment in the contact layout. */
body .contact > div > img { margin-top: 0; }
body .contact a[href^="mailto:"] { overflow-wrap: anywhere; text-underline-offset: .2em; }
body .faq summary { align-items: center; line-height: 1.6; }
body .faq summary::after { flex-shrink: 0; }
body .footer-nav a { display: flex; align-items: center; }
body .footer-nav a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 850px) {
  body .story { gap: 32px; padding-bottom: var(--section-gap); }
  body .contact { gap: 32px; padding-bottom: var(--section-gap); }
}
@media (max-width: 650px) {
  body:has(.home-transition) .home-transition .intro { width: calc(100% - 40px); }
  body .home-transition .hero-bottom h1.home-welcome-title { font-size: clamp(2rem, 7.7vw, 3rem); }
  body .home-transition .hero-copy .hero-bottom p.home-hero-belief { font-size: 1.25rem; line-height: 1.4; margin-top: 12px; }
  body .estate-details > h2.estate-section-heading { font-size: 1.2rem; }
  body .estate-details > h2.estate-section-heading > span { white-space: normal; }
  body .history-chapters > h2, body .featured-in > h2 { font-size: 1.2rem; letter-spacing: .1em; }
  body .family-timeline > small, body .ack .wrap > small { font-size: 1.2rem; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  body .estate-banner .estate-banner-photo > img { transform: none; will-change: auto; }
  body .home-transition .intro { opacity: 1; transform: none; }
}

/* October editorial revision: consistent reading columns and quiet actions. */
body .home-estate-history-roll { width: min(760px, calc(100% - 48px)); padding: 56px 0 12px; }
body .home-estate-history-roll p,
body .home-estate-history-roll .home-estate-vision { width: 100%; max-width: none; margin: 0 0 24px; font-size: 1.3rem; line-height: 1.7; }
body .home-estate-history-roll .home-estate-vision { border: 0; border-left: 2px solid #786647; padding: 20px 28px; margin: 16px 0 0; background: #111a15; }
body:has(.home-transition) .home-transition .intro { width: min(760px, calc(100% - 48px)); padding-top: 24px; }
body .home-transition .hero-intro-actions .home-statements p { max-width: none; }
body main :is(.btn, .home-transition .hero-intro-actions .home-estate-history-section > .btn),
body main .history-chapter-page > .history-back-link,
body main .history-chapter-page .history-chapter-navigation > a {
  background: #244a3b; color: #f6f2e8; border: 1px solid #426653;
  box-shadow: none; border-radius: 4px; padding: 16px 24px;
  font: 500 .78rem/1.5 Cinzel, Georgia, serif; letter-spacing: .06em;
  min-height: 48px; text-decoration: none; text-align: center;
}
body main :is(.btn, .home-transition .hero-intro-actions .home-estate-history-section > .btn):hover, body main :is(.btn, .home-transition .hero-intro-actions .home-estate-history-section > .btn):focus-visible,
body main .home-transition .hero-intro-actions .btn:hover,
body main .home-transition .hero-intro-actions .btn:focus-visible,
body main .history-chapter-page > .history-back-link:hover,
body main .history-chapter-page .history-chapter-navigation > a:hover {
  background: #345f4b; color: #fff; border-color: #6c8b76; box-shadow: none;
}
/* Inner-page titles and photographs share a compact editorial opening. */
body .estate-banner.editorial-hero {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0 48px; align-items: center; width: min(1160px, calc(100% - 64px));
  margin: 48px auto 0; padding: 0; height: auto; min-height: 0;
}
body .editorial-hero .estate-banner-title {
  grid-column: 1; grid-row: 1; position: static; padding: 24px 0;
  min-height: 0; height: auto; text-align: left; background: transparent;
}
body .editorial-hero .estate-banner-title h1 {
  font: 500 clamp(2rem, 3.8vw, 3.6rem)/1.13 Cinzel, Georgia, serif;
  letter-spacing: .055em; text-align: left; margin: 0; max-width: 12ch;
  color: var(--gold); text-shadow: none; overflow-wrap: normal;
}
body .editorial-hero .estate-banner-title .estate-banner-subtitle {
  font: italic 400 clamp(1.35rem, 1.8vw, 1.7rem)/1.45 'Cormorant Garamond', Georgia, serif;
  text-align: left; margin: 24px 0 0; color: var(--ivory); text-shadow: none;
}
body .editorial-hero .estate-banner-subtitle p { white-space: normal; max-width: 30ch; }
body .estate-banner.editorial-hero .estate-banner-photo {
  grid-column: 2; grid-row: 1; position: relative; top: auto;
  width: 100%; height: auto; min-height: 0; aspect-ratio: 1.5;
  overflow: hidden; margin: 0; isolation: isolate;
}
body .editorial-hero.story-banner .estate-banner-photo > img {
  position: static; width: 100%; height: 100%; object-fit: cover;
  object-position: center 65%; transform: none; will-change: auto;
}
/* Preserve the approved family photograph's existing scan-edge framing. */
body .editorial-hero.our-story-banner .estate-banner-photo { aspect-ratio: 954/670; }
body .editorial-hero.our-story-banner .estate-banner-photo > img { transform: none; will-change: auto; }
body .editorial-hero.faq-banner .estate-banner-photo > img {
  position: static; width: 100%; height: 100%; object-fit: cover; transform: none; will-change: auto;
}
body .estate-banner.editorial-hero .estate-banner-transition {
  grid-column: 1 / -1; grid-row: 2; margin: 32px 0 0; min-height: 0;
  padding: 28px 0 32px; background: transparent;
  border-top: 1px solid #c8aa7838; text-align: center;
}
body .editorial-hero .estate-banner-opening { width: 100%; max-width: 100%; padding: 0; text-shadow: none; }
body .editorial-hero .estate-banner-opening blockquote { max-width: 800px; margin: 0 auto; }
body .editorial-hero .estate-banner-opening blockquote p {
  font: italic 400 clamp(1.25rem, 1.8vw, 1.65rem)/1.45 'Cormorant Garamond', Georgia, serif;
  margin: 0 0 12px; max-width: none; white-space: normal;
}
body .editorial-hero .family-quote-sentence { display: inline; white-space: normal; }
body .editorial-hero .family-quote-sentence + span { margin: 0; }
body .editorial-hero .family-quote-sentence + span::before { content: ' '; }
body .editorial-hero .estate-banner-opening cite { font-size: .7rem; letter-spacing: .07em; color: var(--gold); }
body .editorial-hero .estate-banner-opening > p.estate-sources {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px;
  margin: 24px 0 0; font-size: 1.05rem; line-height: 1.5;
}
body .editorial-hero .estate-sources > a { white-space: normal; text-underline-offset: 4px; }
body .story-banner + .story { width: min(1160px, calc(100% - 64px)); padding-top: 40px; padding-bottom: 64px; gap: 48px; }
body .story-banner + .story p { font-size: 1.25rem; line-height: 1.7; max-width: none; }
body .estate-details { width: min(1160px, calc(100% - 64px)); padding-block: 48px 64px; }
body .estate-details > h2.estate-section-heading { width: 100%; max-width: none; margin-inline: auto; font-size: clamp(1.2rem, 2vw, 1.6rem); }
body .estate-details > h2.estate-section-heading > span { white-space: normal; }
body .estate-details .estate-lead { max-width: 72ch; margin: 0 auto 40px; font-size: 1.3rem; line-height: 1.7; }
/* Architecture: a feature index and native, keyboard-accessible disclosures. */
.feature-explorer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 22px 24px; background: #141d18; border: 1px solid #c8aa7830; }
.feature-explorer label { font: 500 .78rem/1.5 Cinzel, Georgia, serif; color: var(--gold); letter-spacing: .05em; }
.feature-explorer select { min-height: 48px; width: min(100%, 380px); padding: 12px 40px 12px 16px; font: 1.1rem/1.4 'Cormorant Garamond', Georgia, serif; background: #080808; color: var(--ivory); border: 1px solid #817152; border-radius: 3px; }
body .estate-grid { display: block; }
.estate-feature { border-top: 1px solid #c8aa7840; scroll-margin-top: calc(var(--header-height) + 20px); }
.estate-feature:last-child { border-bottom: 1px solid #c8aa7840; }
.estate-feature > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; cursor: pointer; padding: 22px 4px; min-height: 72px; }
.estate-feature > summary::-webkit-details-marker { display: none; }
.estate-feature > summary:hover h3 { color: #f6f2e8; }
body .estate-feature > summary h3 { margin: 0; color: var(--gold); font: 500 .92rem/1.5 Cinzel, Georgia, serif; letter-spacing: .08em; }
.feature-toggle { flex: none; width: 24px; height: 24px; position: relative; color: var(--gold); }
.feature-toggle::before, .feature-toggle::after { content: ''; width: 14px; height: 1px; background: currentColor; position: absolute; top: 12px; left: 5px; }
.feature-toggle::after { transform: rotate(90deg); }
.estate-feature[open] .feature-toggle::after { transform: none; }
.feature-panel { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 24px 40px; padding: 8px 4px 36px; align-items: start; }
body .estate-grid .feature-panel .estate-feature-photos { height: 240px; min-height: 0; }
body .estate-grid .feature-panel .estate-feature-photos > img[src] { max-width: 100%; height: 100%; max-height: 240px; object-fit: contain; }
body .estate-grid .feature-panel .estate-feature-text p { font-size: 1.25rem; line-height: 1.65; max-width: 68ch; margin-bottom: 0; }
body .estate-grid .feature-panel > blockquote { grid-column: 2; margin: 0; padding: 12px 0 0; border: 0; font-style: italic; }
body .estate-grid .feature-panel > blockquote p { font-size: 1.15rem; line-height: 1.6; margin-bottom: 0; }
/* Keep the timeline's date rail and copy balanced inside one centered column. */
body .family-timeline { width: min(1000px, calc(100% - 64px)); padding-top: 40px; }
body .family-timeline > small, body .family-timeline .family-history-intro { width: 100%; max-width: none; white-space: normal; }
body .family-timeline .timeline-entry { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
body .family-timeline .timeline-content p { width: 100%; max-width: none; }
body .family-timeline .timeline-date > .family-timeline-portrait { max-width: 200px; }
/* Gallery begins with its title and filters; retain the hidden asset in source. */
body .gallery-title-only .estate-banner-photo { display: none; }
body .gallery-title-only .estate-banner-title { padding: 48px 24px 28px; }
body .gallery-title-only .estate-banner-title h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
body .gallery-title-only .estate-banner-transition { margin: 0; padding: 0; min-height: 0; background: transparent; }
/* FAQ heading belongs to the questions, directly above the first disclosure. */
body .faq-banner.editorial-hero { margin-bottom: 40px; }
body .booking-faq { background: #080808; padding: 0 0 64px; }
body .booking-faq > .wrap { width: min(850px, calc(100% - 64px)); max-width: 850px; }
.faq-section-heading { padding-top: 32px; border-top: 1px solid #c8aa7840; margin-bottom: 36px; }
body .faq-section-heading small { font-size: .75rem; margin-bottom: 12px; }
body .faq-section-heading h2 { font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.3 Cinzel, Georgia, serif; color: var(--ivory); margin: 0; letter-spacing: .06em; }
@media (max-width: 800px) {
  body .estate-banner.editorial-hero { width: calc(100% - 40px); gap: 20px 28px; margin-top: 32px; }
  body .editorial-hero .estate-banner-title h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  body .editorial-hero .estate-banner-title .estate-banner-subtitle { font-size: 1.3rem; margin-top: 18px; }
  body .estate-banner.editorial-hero .estate-banner-transition { margin-top: 8px; }
  body .story-banner + .story, body .estate-details, body .family-timeline { width: calc(100% - 40px); }
  body .family-timeline .timeline-entry { grid-template-columns: 160px minmax(0, 1fr); gap: 28px; }
  body .family-timeline .timeline-date > .family-timeline-portrait { max-width: 160px; }
}
@media (max-width: 600px) {
  body .estate-banner.editorial-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 20px; }
  body .editorial-hero .estate-banner-title { padding: 12px 0 28px; }
  body .editorial-hero .estate-banner-title h1 { max-width: none; font-size: clamp(1.8rem, 7vw, 2.5rem); }
  body .editorial-hero .estate-banner-subtitle p { max-width: none; }
  body .estate-banner.editorial-hero .estate-banner-transition { margin-top: 24px; padding-bottom: 8px; }
  body .editorial-hero .estate-banner-opening > p.estate-sources { gap: 12px; margin-top: 20px; }
  body .home-estate-history-roll, body:has(.home-transition) .home-transition .intro { width: calc(100% - 40px); }
  body .home-estate-history-roll { padding-top: 36px; }
  body .home-estate-history-roll p { font-size: 1.2rem; }
  body .home-estate-history-roll .home-estate-vision { padding: 16px 20px; }
  .feature-explorer { flex-direction: column; align-items: stretch; gap: 12px; padding: 20px; }
  .feature-explorer select { width: 100%; }
  .feature-panel { grid-template-columns: 1fr; gap: 20px; padding-bottom: 28px; }
  body .estate-grid .feature-panel > blockquote { grid-column: 1; }
  body .estate-feature > summary h3 { font-size: .8rem; letter-spacing: .05em; }
  body .family-timeline .timeline-entry { grid-template-columns: 1fr; gap: 24px; }
  body .family-timeline .timeline-date { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
  body .family-timeline .timeline-date > span { width: 100%; }
  body .family-timeline .timeline-date > .family-timeline-portrait { flex: 0 1 calc(50% - 8px); max-width: 145px; margin: 12px 0 0; }
  body .booking-faq > .wrap { width: calc(100% - 40px); }
  body .booking-faq summary { font-size: 1.5rem; padding-block: 24px; }
}

body .booking-faq .faq-group > small { font: 500 .75rem/1.5 Cinzel, Georgia, serif; letter-spacing: .12em; color: var(--gold); margin-bottom: 16px; }

/* The vision belongs to the preceding introduction, expressed as a quotation. */
body .home-estate-history-roll .home-estate-vision p { margin: 0; color: var(--gold); }
/* A standalone, full-width estate overview follows the narrow mission column. */
body .home-at-glance-band {
  width: 100%; margin: 0; padding: clamp(48px, 6vw, 72px) 0;
  background: #111c18; border-block: 1px solid #c8aa782a; text-align: center;
}
body .home-at-glance-band .home-at-glance-content { width: min(1160px, calc(100% - 48px)); }
body .home-at-glance-band h3 {
  font: 500 1.4rem/1.4 Cinzel, Georgia, serif; letter-spacing: .16em;
  color: var(--gold); margin: 0 0 36px; text-transform: uppercase;
}
body .home-at-glance-band .home-at-glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
body .home-at-glance-band .home-at-glance-grid > article { min-width: 0; }
body .home-at-glance-band .home-at-glance-grid small { font-size: .75rem; letter-spacing: .14em; margin-bottom: 16px; }
body .home-at-glance-band h4 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.3; margin-bottom: 16px; }
body .home-at-glance-band p { max-width: 34ch; margin: 0 auto; font-size: 1.25rem; line-height: 1.65; }
body .home-at-glance-band .home-primary-actions { margin-top: 32px; }
body .home-at-glance-band .home-primary-actions .btn { margin: 0; }
@media (max-width: 650px) {
  body .home-at-glance-band .home-at-glance-content { width: calc(100% - 40px); }
  body .home-at-glance-band .home-at-glance-grid { grid-template-columns: 1fr; gap: 32px; }
  body .home-at-glance-band h3 { font-size: 1.2rem; }
}
