/* Shared Anna Oliver / agent masthead redesign. Original wordmark files stay untouched. */
:root {
  --masthead-navy: #102338;
  --masthead-ink: #172b40;
  --masthead-cream: #f5f1e9;
  --masthead-stone: #e9e1d4;
  --masthead-muted: #536679;
  --masthead-gold: #b69c70;
}

.service-bar,
.r-topline {
  position: relative !important;
  z-index: 51;
  min-height: 32px;
  padding: 0;
  color: #f5f2eb !important;
  background: var(--masthead-navy) !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: Manrope, Inter, Arial, sans-serif;
}

.service-bar .service-bar-inner,
.r-topline .r-wrap {
  width: min(1600px, calc(100% - 64px));
  min-height: 32px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  color: #f5f2eb !important;
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: .105em;
  line-height: 1.45;
  text-transform: uppercase;
}

.service-bar .service-bar-inner > span,
.r-topline .r-wrap > span:first-child { color: #f5f2eb !important; }

.service-bar .service-bar-inner > div,
.r-topline .r-wrap > span:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #e9e1d4 !important;
  text-align: right;
}

.service-bar a,
.r-topline a,
.r-topline strong {
  color: #f5f2eb !important;
  text-decoration: none !important;
}

.service-bar a:hover,
.r-topline a:hover { color: #ddc69e !important; }

.site-header,
.r-header {
  position: relative !important;
  z-index: 50;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  isolation: isolate;
  color: #f5f2eb !important;
  background: var(--masthead-navy) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-header::before,
.site-header::after,
.r-header::before,
.r-header::after { display: none !important; content: none !important; }

.site-header .nav-inner,
.r-header .r-header-inner {
  position: relative;
  width: min(1600px, calc(100% - 64px)) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 270px) minmax(220px, 1fr) auto;
  grid-template-rows: 68px 43px;
  align-items: center;
  column-gap: clamp(18px, 3vw, 48px);
  row-gap: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-header .brand,
.r-header .r-brand {
  grid-column: 1;
  grid-row: 1;
  width: 250px !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  background: transparent !important;
}

.site-header .brand img,
.r-header .r-brand-anna img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: none !important;
}

.r-header .r-brand-anna { display: block; width: 100%; max-width: 250px; }
.r-header .r-brand-rule,
.r-header .r-brand-real { display: none !important; }

.site-header .header-signature,
.r-header .r-header-note {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--masthead-muted) !important;
  background: transparent !important;
  border: 0 !important;
  font: 500 13px/1.35 Manrope, Inter, Arial, sans-serif !important;
  letter-spacing: .01em;
  text-align: left;
  white-space: normal;
}

.site-header .header-signature small,
.r-header .r-header-note small {
  display: block;
  margin: 3px 0 0 !important;
  color: #d7c8ad !important;
  font: 600 9px/1.4 Manrope, Inter, Arial, sans-serif !important;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site-header .site-nav,
.r-header .r-nav {
  position: static !important;
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: clamp(4px, .55vw, 10px);
  overflow: visible !important;
  background: var(--masthead-stone) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.site-header .site-nav::before,
.site-header .site-nav::after,
.r-header .r-nav::before,
.r-header .r-nav::after { display: none !important; content: none !important; }

.site-header .site-nav a,
.r-header .r-nav a,
#real-nav a {
  position: relative;
  min-width: 0;
  min-height: 43px !important;
  margin: 0 !important;
  padding: 7px clamp(6px, .6vw, 11px) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  color: var(--masthead-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font: 700 10px/1.2 Manrope, Inter, Arial, sans-serif !important;
  letter-spacing: .065em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .16s ease, background-color .16s ease;
}

.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible,
.r-header .r-nav a:hover,
.r-header .r-nav a:focus-visible,
.site-header .site-nav a[aria-current],
.r-header .r-nav a[aria-current] {
  color: #765f39 !important;
  background: #f4eee3 !important;
}

.site-header .site-nav a::before,
.site-header .site-nav a::after,
.r-header .r-nav a::before,
.r-header .r-nav a::after,
#real-nav a::before,
#real-nav a::after { display: none !important; content: none !important; }

.site-header .site-nav .nav-cta,
.r-header .r-nav .r-nav-cta {
  position: absolute !important;
  top: 15px;
  right: 0;
  z-index: 2;
  width: auto !important;
  min-width: 156px;
  min-height: 38px !important;
  padding: 9px 14px !important;
  gap: 12px;
  color: var(--masthead-ink) !important;
  background: var(--masthead-cream) !important;
  border: 1px solid var(--masthead-cream) !important;
  border-radius: 2px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header .site-nav .nav-cta:hover,
.site-header .site-nav .nav-cta:focus-visible,
.r-header .r-nav .r-nav-cta:hover,
.r-header .r-nav .r-nav-cta:focus-visible {
  color: var(--masthead-ink) !important;
  background: #e9e1d4 !important;
  border-color: #e9e1d4 !important;
}

.site-header .cta-arrow {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 15px;
  line-height: 1;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.r-header a:focus-visible,
.r-header button:focus-visible {
  outline: 2px solid var(--masthead-gold) !important;
  outline-offset: 3px;
}

.site-header .menu-button,
.r-header .r-menu { display: none !important; }

.site-header.compact-header .nav-inner {
  min-height: 68px !important;
  display: flex !important;
  justify-content: space-between;
  padding: 0 !important;
}

.site-header.compact-header .brand {
  width: 230px !important;
  max-width: 58% !important;
}

.site-header.compact-header .button { border-radius: 2px !important; }

@media (max-width: 1350px) and (min-width: 1101px) {
  .site-header .nav-inner,
  .r-header .r-header-inner {
    width: min(1600px, calc(100% - 44px)) !important;
    grid-template-columns: minmax(190px, 230px) minmax(150px, 1fr) auto;
    column-gap: 16px;
  }
  .site-header .brand,
  .r-header .r-brand { width: 220px !important; }
  .site-header .header-signature,
  .r-header .r-header-note { font-size: 12px !important; }
  .site-header .site-nav,
  .r-header .r-nav { gap: 2px; }
  .site-header .site-nav a,
  .r-header .r-nav a,
  #real-nav a { padding-inline: 5px !important; font-size: 9px !important; letter-spacing: .035em; }
  .site-header .site-nav .nav-cta,
  .r-header .r-nav .r-nav-cta { min-width: 142px; }
}

@media (max-width: 1100px) {
  .site-header .nav-inner,
  .r-header .r-header-inner {
    width: min(100% - 40px, 760px) !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: 68px auto;
    column-gap: 16px;
  }

  .site-header .brand,
  .r-header .r-brand {
    grid-column: 1;
    grid-row: 1;
    width: 225px !important;
    max-width: min(100%, 225px) !important;
  }

  .site-header .header-signature,
  .r-header .r-header-note { display: none !important; }

  .site-header .menu-button,
  .r-header .r-menu {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 10px !important;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--masthead-ink) !important;
    background: transparent !important;
    border: 1px solid #b9ad99 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
  }

  .site-header .menu-button > span:not(.sr-only),
  .r-header .r-menu > span:not(.r-sr) {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }

  .site-header .site-nav,
  .r-header .r-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    background: transparent !important;
    border: 0 !important;
  }

  .site-header .site-nav.is-open,
  .r-header .r-nav.r-open {
    padding: 0 0 14px !important;
    display: grid !important;
  }

  .site-header .site-nav a,
  .r-header .r-nav a,
  #real-nav a {
    min-height: 44px !important;
    justify-content: flex-start;
    padding: 10px 12px !important;
    color: var(--masthead-ink) !important;
    background: #eee7dc !important;
    border-radius: 2px !important;
    font-size: 10px !important;
    letter-spacing: .04em;
    text-align: left;
    white-space: normal;
  }

  .site-header .site-nav a:hover,
  .site-header .site-nav a:focus-visible,
  .site-header .site-nav a[aria-current],
  .r-header .r-nav a:hover,
  .r-header .r-nav a:focus-visible,
  .r-header .r-nav a[aria-current] { background: #e1d5c4 !important; }

  .site-header .site-nav .nav-cta,
  .r-header .r-nav .r-nav-cta {
    position: static !important;
    grid-column: 1 / -1;
    width: 100% !important;
    min-height: 46px !important;
    margin: 2px 0 0 !important;
    justify-content: center;
    color: #f8f5ef !important;
    background: var(--masthead-navy) !important;
    font-size: 10px !important;
  }

  .service-bar .service-bar-inner,
  .r-topline .r-wrap { width: calc(100% - 40px); }
}

@media (max-width: 620px) {
  .service-bar .service-bar-inner,
  .r-topline .r-wrap {
    width: calc(100% - 32px);
    min-height: 38px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 12px;
    padding-block: 6px;
    font-size: 8px !important;
    letter-spacing: .065em;
  }

  .service-bar .service-bar-inner > span,
  .r-topline .r-wrap > span:first-child { flex: 1 1 100%; }

  .service-bar .service-bar-inner > div,
  .r-topline .r-wrap > span:last-child {
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
  }

  .site-header .nav-inner,
  .r-header .r-header-inner {
    width: calc(100% - 32px) !important;
    grid-template-rows: 62px auto;
  }

  .site-header .brand,
  .r-header .r-brand { width: 195px !important; max-width: min(100%, 195px) !important; }

  .site-header .site-nav,
  .r-header .r-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .site-header .site-nav.is-open,
  .r-header .r-nav.r-open { padding-bottom: 12px !important; }

  .site-header .site-nav a,
  .r-header .r-nav a,
  #real-nav a { min-height: 44px !important; font-size: 9px !important; }

  .site-header .site-nav .nav-cta,
  .r-header .r-nav .r-nav-cta { grid-column: 1 / -1; }
}

@media (max-width: 360px) {
  .site-header .site-nav,
  .r-header .r-nav { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a,
  .r-header .r-nav a { transition: none; }
}



/* October 2026 - responsive finish for the shared masthead and homepage hero. */
@media (min-width: 1101px) {
  .site-header .site-nav .nav-cta,
  .r-header .r-nav .r-nav-cta {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    align-self: center;
    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    color: #f5f1e9 !important;
    background: var(--masthead-navy) !important;
    border: 1px solid var(--masthead-navy) !important;
  }

  .site-header .site-nav .nav-cta:hover,
  .site-header .site-nav .nav-cta:focus-visible,
  .r-header .r-nav .r-nav-cta:hover,
  .r-header .r-nav .r-nav-cta:focus-visible {
    color: var(--masthead-ink) !important;
    background: #fffaf0 !important;
    border-color: #fffaf0 !important;
  }

  .site-header .site-nav .nav-cta .cta-arrow {
    border-left: 1px solid rgba(245, 241, 233, .46);
    padding-left: 10px;
  }
}

/* Keep the edge-to-edge property image, with a touch more shade on its bright side. */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 24, 40, .93) 0%, rgba(16, 30, 46, .82) 50%, rgba(16, 30, 46, .52) 100%),
    linear-gradient(0deg, rgba(10, 20, 33, .34), transparent 54%);
}

/* Fine rules clarify where the hero, quick paths, and editorial content change. */
.hero-facts {
  border-top: 1px solid rgba(245, 241, 233, .3);
  border-bottom: 1px solid rgba(245, 241, 233, .2);
}

.decision-bar {
  border-top: 1px solid rgba(16, 35, 56, .14);
}

.press-strip {
  border-top: 1px solid #ddd7cd;
}

/* High-contrast menu control on dark navy, including the REAL agent header. */
@media (max-width: 1100px) {
  .site-header .menu-button,
  .r-header .r-menu {
    color: #f5f2eb !important;
    border-color: rgba(245, 241, 233, .56) !important;
  }

  .site-header .menu-button > span:not(.sr-only),
  .r-header .r-menu > span:not(.r-sr) {
    background-color: #f5f2eb !important;
  }
}


/* Use a drawn menu mark so it remains legible across browser style resets. */
@media (max-width: 1100px) {
  .site-header .menu-button > span:not(.sr-only),
  .r-header .r-menu > span:not(.r-sr) { display: none !important; }

  .site-header .menu-button::before,
  .r-header .r-menu::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 12px;
    width: 18px;
    height: 2px;
    background: #f5f2eb;
    box-shadow: 0 6px 0 #f5f2eb, 0 12px 0 #f5f2eb;
  }

  .site-header .menu-button::after,
  .r-header .r-menu::after { content: none; }

  .site-header .menu-button[aria-expanded="true"]::before,
  .r-header .r-menu[aria-expanded="true"]::before {
    top: 20px;
    box-shadow: none;
    transform: rotate(45deg);
  }

  .site-header .menu-button[aria-expanded="true"]::after,
  .r-header .r-menu[aria-expanded="true"]::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 20px;
    width: 18px;
    height: 2px;
    background: #f5f2eb;
    transform: rotate(-45deg);
  }
}

@media (max-width: 1100px) {
  .site-header .menu-button,
  .r-header .r-menu { position: relative !important; }
}


/* Give the desktop contact action more room inside the navigation strip. */
@media (min-width: 1101px) {
  .site-header .site-nav .nav-cta,
  .r-header .r-nav .r-nav-cta {
    margin-right: clamp(14px, 1.05vw, 18px) !important;
  }
}

@media (min-width: 1351px) {
  .site-header .site-nav .nav-cta,
  .r-header .r-nav .r-nav-cta {
    min-height: 42px !important;
    padding-inline: 20px !important;
    gap: 16px;
    margin-right: clamp(20px, 1.4vw, 28px) !important;
  }

  .site-header .site-nav .nav-cta .cta-arrow {
    padding-left: 12px;
  }
}


/* Keep the contact action inset and vertically centered within the navigation strip. */
@media (min-width: 1101px) {
  .site-header .nav-inner,
  .r-header .r-header-inner {
    grid-template-rows: 68px 60px;
  }

  .site-header .site-nav,
  .r-header .r-nav {
    min-height: 60px !important;
  }

  .site-header .site-nav .nav-cta,
  .r-header .r-nav .r-nav-cta {
    align-self: center !important;
    min-height: 40px !important;
    margin-right: clamp(16px, 1.5vw, 24px) !important;
    border-radius: 2px !important;
  }
}

@media (max-width: 1100px) {
  .site-header .site-nav.is-open,
  .r-header .r-nav.r-open {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 14px max(16px, calc((100vw - 760px) / 2)) 16px !important;
    box-sizing: border-box;
    background: var(--masthead-navy) !important;
    border-top: 1px solid rgba(245, 241, 233, .18) !important;
  }

  .site-header .site-nav.is-open .nav-cta,
  .r-header .r-nav.r-open .r-nav-cta {
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 8px 0 0 !important;
    padding: 12px 16px !important;
    justify-content: space-between !important;
    color: #f8f5ef !important;
    background: var(--masthead-navy) !important;
    border: 1px solid rgba(245, 241, 233, .5) !important;
    border-radius: 2px !important;
    box-sizing: border-box;
  }

  .site-header .site-nav.is-open .nav-cta .cta-arrow {
    border-left: 1px solid rgba(245, 241, 233, .46);
    padding-left: 12px;
  }
}
