/* Shared desktop navigation; mobile keeps its compact menu. */
@media (min-width: 1024px) {
  .header {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 64px);
    max-width: 1640px;
    height: 88px;
    padding: 0 clamp(24px, 3vw, 48px);
    gap: clamp(20px, 2.4vw, 40px);
    border: 1px solid rgba(34,57,47,.08);
    border-radius: 24px;
    background: #fffefa;
    box-shadow: 0 8px 32px rgba(18,38,29,.10);
  }
  .header .brand { flex: 0 0 auto; }
  .header .brand img { width: clamp(96px, 8vw, 112px); }
  .header .menu-toggle { display: none; }
  .header #navigation, .header #navigation[hidden] {
    display: flex;
    position: static;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .header #navigation a {
    position: relative;
    flex: 0 1 auto;
    padding: 12px 3px;
    border: 0;
    font-size: clamp(13px, .95vw, 15px);
    font-weight: 600;
    letter-spacing: -.015em;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    max-width: 175px;
    color: #536158;
    transition: color .18s, background .18s;
  }
  .header #navigation a:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 3px;
    right: 3px;
    height: 2px;
    background: #b28d53;
    transform: scaleX(0);
    transition: transform .18s;
  }
  .header #navigation a:hover, .header #navigation a[aria-current=page] { color: #22392f; }
  .header #navigation a:hover::after, .header #navigation a[aria-current=page]::after { transform: scaleX(1); }
  .header #navigation a:last-child {
    padding: 13px clamp(16px, 1.6vw, 26px);
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 2px;
    border-radius: 999px;
    background: #22392f;
    color: #fffefa;
  }
  .header #navigation a:last-child:hover { background: #355543; }
  #main > section:first-child { padding-top: 152px; }
  #main > .hero { min-height: 800px; }
  #main > section:first-child > .video-toggle { top: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .header #navigation a::after { transition: none; }
}

@media(min-width:1024px){.header #navigation a:first-child{flex-shrink:0}}
