.av-header {
  position: relative;
  z-index: 12;
  height: auto;
  display: block;
  padding: 0;
  color: var(--os-frame-ink);
  background: var(--os-frame);
  font: 500 .85rem/1.3 Geist, "Helvetica Neue", Arial, sans-serif;
}
.av-header.av-header-overlay {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(180deg,rgb(27 27 30 / .93),rgb(27 27 30 / .65) 72%,transparent);
}
.av-header-inner {
  position: relative;
  min-height: 72px;
  padding: .35rem clamp(1.1rem,4.3vw,5.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.75rem,2.4vw,2.5rem);
}
.av-identity,.av-sections,.av-company-menu summary {
  display: flex;
  align-items: center;
}
.av-identity { gap: clamp(.65rem,1.65vw,1.6rem); }
.av-header a { color: inherit; text-decoration: none; }
.av-logo img { display: block; width: auto; height: 48px; }
.av-header .av-name {
  padding-left: clamp(.7rem,1.65vw,1.6rem);
  border-left: 1px solid rgb(245 241 236 / .32);
  font-family: "Instrument Serif",Georgia,serif;
  font-size: clamp(1.1rem,2vw,1.65rem);
  letter-spacing: -.025em;
  white-space: nowrap;
}
.av-sections { gap: clamp(1rem,2.5vw,3rem); }
.av-header .av-sections a,.av-company-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
}
.av-header a[aria-current],.av-header a:hover,.av-header a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--os-indicator);
  text-underline-offset: .45em;
}
.av-company-menu { position: relative; }
.av-company-menu summary { cursor: pointer; list-style: none; gap: .6rem; }
.av-company-menu summary::-webkit-details-marker { display: none; }
.av-company-menu summary span { width: 19px; height: 8px; border-block: 1px solid currentColor; }
.av-menu-panel {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 2;
  padding: 1.1rem 1.4rem;
  width: min(290px,88vw);
  max-height: 70svh;
  overflow: auto;
  color: var(--os-text);
  background: var(--os-panel);
  border: 1px solid var(--os-rule);
  box-shadow: 0 12px 36px rgb(0 0 0 / .22);
}
.av-menu-panel nav { display: grid; }
.av-menu-panel p { margin: .35rem 0; color: var(--os-muted); font-size: .72rem; }
.av-menu-panel nav+p { border-top: 1px solid var(--os-rule); padding-top: .85rem; margin-top: .75rem; }
.av-menu-panel a { display: block; padding: .42rem 0; font: 500 .91rem/1.35 Geist,Arial,sans-serif; }
.av-guide-footer { display: flex; gap: .7rem 1.5rem; flex-wrap: wrap; }
.av-guide-footer a { min-height: 40px; display: inline-flex; align-items: center; }
html.embed .av-header { display: none; }
@media (max-width: 790px) {
  .av-header-inner { flex-wrap: wrap; gap: 0 1rem; padding-block: .15rem 0; }
  .av-identity { min-height: 47px; }
  .av-logo img { height: 34px; }
  .av-sections { order: 3; flex: 0 0 100%; justify-content: space-between; gap: .3rem; }
  .av-header .av-sections a { min-height: 38px; font-size: .78rem; }
  .av-header.av-header-overlay { background: linear-gradient(180deg,rgb(27 27 30 / .94) 22%,rgb(27 27 30 / .73) 79%,transparent); }
  html.map-entry { --header-height: 90px; }
}
@media (max-width: 690px) {
  :is(.index-page,.field-guide-page) { --mast-height: 92px; }
}
@media (max-width: 375px) {
  .av-header-inner { padding-inline: .85rem; }
  .av-header .av-name { font-size: 1.01rem; }
  .av-header .av-sections a { font-size: .73rem; }
}

/* The estate carries its own identity inside the builder's portfolio. */
.av-estate {
  --os-canvas:light-dark(#ecece0,#17281f);
  --os-panel:light-dark(#f6f3e9,#1b3026);
  --os-card:light-dark(#fffdf5,#223c2e);
  --os-well:light-dark(#e5e8da,#2b4336);
  --os-text:light-dark(#233b2e,#f6f2e6);
  --os-muted:light-dark(#4e6152,#c5cdbb);
  --os-rule:light-dark(#c6cebd,#43594a);
  --os-primary:light-dark(#284d39,#efe3bc);
  --os-primary-hover:light-dark(#173a28,#fff6dc);
  --os-primary-ink:light-dark(#fffaf1,#1c3426);
  --os-selected:light-dark(#dce4d2,#304b39);
  --os-selected-ink:light-dark(#243d2d,#f4e5bd);
  --os-indicator:light-dark(#8a652b,#e6c992);
}
.av-estate .site-mast .site-community {
  color:#f5f1df;
  background:#1b3329;
  border-block:1px solid #d6c58c36;
}
.av-estate .site-community .site-community-name {
  display:inline-flex; align-items:center; min-height:44px; gap:.7rem;
  font:400 clamp(1.25rem,1.7vw,1.7rem)/1 Georgia,serif; letter-spacing:-.03em;
}
.av-estate .site-community-name::before {
  content:""; width:36px; height:36px; flex:none;
  background:center / contain no-repeat url("../atlas/estate-mark.png");
}
.av-estate .site-community nav a { min-height:44px; font-size:.82rem; color:inherit; }
.av-estate .site-community nav a:is(:hover,:focus-visible,[aria-current]) { text-decoration-color:#f0d89f; }
.av-estate .film-copy h1,.av-estate .hero-title h1,.av-estate #explorer-title {
  font-family:"Instrument Serif",Baskerville,Georgia,serif; font-weight:400;
  letter-spacing:-.045em; line-height:.91;
}
.av-estate .film-copy h1 em,.av-estate .hero-title h1 em,.av-estate #explorer-title em { color:#efe1b7; }
.av-estate .film-copy .film-location { color:#fff1ca; text-shadow:0 1px 7px #11261d; }
.av-estate .film-links .film-action {
  min-height:48px; padding-inline:1.15rem; display:inline-flex; align-items:center; gap:1rem;
  background:#f6efd9; color:#193625; border:1px solid #fff3cf;
}
.av-estate .film-links .film-action::after { content:"↗"; font:1.05rem/1 Geist,Arial,sans-serif; }
.av-estate .film-links .film-action:is(:hover,:focus-visible) { background:#fffaf0; color:#193625; }
.av-estate .film-links .film-link { color:#faf7ed; text-shadow:0 1px 5px #11261d; }
.av-estate .tour-preview-tabs button { opacity:1; color:var(--os-muted); }
.av-estate .tour-preview-tabs button[aria-pressed=true] { color:var(--os-text); }
.av-estate .tour-current-stop {
  background:#142b20df; border-left:2px solid #dfc594; padding:.5rem .68rem; color:#fbf7e8;
}
.av-estate .tour-feature-foot :is(.tour-open,.tour-map-link),.av-estate .map-tour-entry { display:inline-flex;align-items:center;min-height:44px; }
.av-estate .stage :is(.mode,.controls) { background:#183925f2; border:1px solid #d6c78d; padding:3px; border-radius:3px; }
.av-estate .stage :is(.mode,.controls) button { min-width:44px; min-height:44px; color:#faf7e9; border-color:transparent; background:transparent; }
.av-estate .stage .mode button[aria-pressed=true],.av-estate .stage .controls button:hover { color:#243d2b; background:#efe8d1; }
.av-estate .stage :is(.mode,.controls) button:focus-visible { outline:2px solid #f3d08b; outline-offset:-3px; }
.av-estate .map-caption { color:#f7f2df; background:#193325e8; }
.av-estate .sign-card { border-top:3px solid var(--os-indicator); }
@media(max-width:790px) {
  .av-estate .site-community-inner { column-gap:.65rem; }
  .av-estate .site-community .site-community-name { font-size:0; gap:0; flex:none; }
  .av-estate .site-community-name::before { width:32px; height:32px; }
  .av-estate .site-community nav { flex:1; min-width:0; gap:.35rem; }
  .av-estate .site-community nav a { font-size:clamp(.66rem,2.6vw,.84rem); }
}
@media(max-width:355px) {
  .av-estate .site-community-inner { padding-inline:.5rem; gap:.3rem; }
  .av-estate .site-community-name::before { width:28px; height:28px; }
}
