/* The shared footer uses the same paper, ink and serif as the estate header. */
/* Keep the footer's return link clear of the fixed masthead. */
#main-content { scroll-margin-top: var(--estate-height, 124px); }
.estate-footer {
  --footer-paper: #f3f0e7;
  --footer-ink: #344034;
  --footer-muted: #64685e;
  --footer-wine: #743b42;
  --footer-line: #d4d2c4;
  position: relative;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--footer-line);
  background: var(--footer-paper);
  color: var(--footer-ink);
  font: 400 14px/1.7 var(--font-sansserif), sans-serif;
}
.estate-footer *, .estate-footer *::before, .estate-footer *::after { box-sizing: border-box; }
.estate-footer :is(p, h2, address) { margin: 0; color: inherit; }
.estate-footer a { color: inherit; text-decoration: none; }
.estate-footer a:focus-visible { outline: 2px solid var(--footer-wine); outline-offset: 5px; }
.estate-footer a:hover { color: var(--footer-wine); }
.estate-footer-shell { width: min(1280px, 88%); margin: auto; }
.estate-footer-main { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: clamp(32px, 6vw, 88px); padding: 64px 0 50px; }
.estate-footer-brand { display: block; max-width: 360px; width: 100%; }
.estate-footer-brand img { display: block; width: 100%; height: auto; opacity: .85; }
.estate-footer .estate-footer-location { margin: 20px 0 24px; color: var(--footer-muted); font-size: 10px; line-height: 1.6; letter-spacing: .17em; text-transform: uppercase; }
.estate-footer-location > span { margin: 0 9px; }
.estate-footer address { display: flex; flex-direction: column; align-items: flex-start; font: inherit; color: var(--footer-muted); }
.estate-footer address a { display: inline-block; padding: 4px 0; }
.estate-footer address a:hover, .estate-footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.estate-footer address .estate-footer-address { margin-bottom: 10px; line-height: 1.8; }
.estate-footer .estate-footer-label { margin: 0 0 19px; font-size: 10px; font-weight: 700; line-height: 1.7; letter-spacing: .16em; text-transform: uppercase; color: var(--footer-wine); }
.estate-footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.estate-footer-nav a { padding: 5px 0; line-height: 1.8; }
.estate-footer-nav a[aria-current="page"] { color: var(--footer-wine); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #b4a08d; }
.estate-footer-invitation { padding-left: clamp(24px, 3vw, 45px); border-left: 1px solid var(--footer-line); }
.estate-footer-invitation h2 { font: 400 clamp(32px, 3.2vw, 46px)/1.2 'Playfair Display', Georgia, serif; letter-spacing: -.035em; text-transform: none; }
.estate-footer-invitation h2 em { color: var(--footer-wine); font-weight: 400; }
.estate-footer-tour { display: flex; justify-content: space-between; align-items: center; gap: 30px; width: min(240px, 100%); min-height: 48px; margin-top: 27px; padding: 11px 0; border-bottom: 1px solid #9da491; font-size: 13px; font-weight: 700; }
.estate-footer-tour > span { font-size: 23px; }
.estate-footer-tour:hover { border-color: var(--footer-wine); }
.estate-footer-waterfront { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--footer-line); border-bottom: 1px solid var(--footer-line); padding: 24px 0; }
.estate-footer-waterfront-note { display: flex; align-items: center; gap: 20px; font: 400 italic 21px/1.5 'Playfair Display', Georgia, serif; }
.estate-footer-waterfront-note > svg { flex: 0 0 auto; color: #7c896f; }
.estate-footer-tides { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; font-size: 12px; line-height: 1.6; }
.estate-footer-tides > span { flex: 0 0 auto; font-size: 21px; }
.estate-footer-tides:hover { text-decoration: underline; text-underline-offset: 5px; }
.estate-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; color: var(--footer-muted); font-size: 11px; }
.estate-footer-top { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; white-space: nowrap; }
.estate-footer-top svg { flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .estate-footer a { transition: color .2s ease, border-color .2s ease; }
  .estate-footer-tour > span, .estate-footer-tides > span { transition: transform .2s ease; }
  .estate-footer-tour:hover > span, .estate-footer-tides:hover > span { transform: translate(2px, -2px); }
}
@media (max-width: 1000px) {
  .estate-footer-main { grid-template-columns: 1.1fr .65fr 1fr; gap: 30px; padding-top: 52px; }
  .estate-footer-invitation { padding-left: 25px; }
  .estate-footer-invitation h2 { font-size: 34px; }
  .estate-footer .estate-footer-location { letter-spacing: .1em; font-size: 9px; }
  .estate-footer address { font-size: 13px; }
  .estate-footer-waterfront-note { font-size: 19px; gap: 14px; }
}
@media (max-width: 760px) {
  .estate-footer-shell { width: 86%; }
  .estate-footer-main { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px 28px; padding: 42px 0 36px; }
  .estate-footer-invitation { grid-column: 1 / -1; padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--footer-line); display: grid; grid-template-columns: 1fr auto; gap: 0 24px; align-items: end; }
  .estate-footer-invitation .estate-footer-label { grid-column: 1 / -1; margin-bottom: 14px; }
  .estate-footer-invitation h2 { font-size: clamp(34px, 6vw, 44px); }
  .estate-footer-tour { margin-top: 0; width: 170px; }
  .estate-footer-brand { max-width: 320px; }
  .estate-footer-nav { padding-left: 20px; border-left: 1px solid var(--footer-line); }
  .estate-footer .estate-footer-location { line-height: 1.8; margin: 17px 0; }
  .estate-footer-location > span { margin: 0 4px; }
  .estate-footer-waterfront { align-items: flex-start; flex-direction: column; gap: 10px; padding: 21px 0 17px; }
  .estate-footer-waterfront-note { font-size: 20px; }
  .estate-footer-tides { width: 100%; gap: 15px; font-size: 12px; }
  .estate-footer-bottom { align-items: flex-start; padding: 17px 0; gap: 16px; }
  .estate-footer-bottom p { max-width: 270px; padding-top: 12px; font-size: 10px; }
}
@media (max-width: 480px) {
  .estate-footer-main { grid-template-columns: 1fr; gap: 30px; }
  .estate-footer-invitation { display: block; padding-top: 30px; }
  .estate-footer-invitation h2 { font-size: 40px; }
  .estate-footer-tour { width: 100%; margin-top: 18px; }
  .estate-footer-brand { width: min(300px, 100%); }
  .estate-footer-nav { border: 0; border-top: 1px solid var(--footer-line); padding: 25px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: start; }
  .estate-footer-nav .estate-footer-label { grid-column: 1 / -1; margin-bottom: 12px; }
  .estate-footer-nav a { min-height: 44px; display: flex; align-items: center; font-size: 13px; }
  .estate-footer-bottom { flex-wrap: wrap; gap: 0 16px; }
  .estate-footer-bottom p { max-width: none; }
}
