.topbar-inner { position: relative; }
.nav { align-items: center; flex-wrap: nowrap; }
.nav a, .nav-more { font-size: 0.94rem; white-space: nowrap; }
.nav a[aria-current="page"] { background: #fff; color: var(--text); }
.nav-dropdown { position: relative; }
.nav-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.94rem;
  cursor: pointer;
}
.nav-more::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.nav-more:hover, .nav-more[aria-expanded="true"] { background: #fff; color: var(--text); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf7;
  box-shadow: var(--shadow);
  z-index: 80;
}
.nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 12px; }
.nav-dropdown::after { display: none; }
.nav-dropdown-menu a:hover { background: #fff; }
.menu-toggle { display: none; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
section[id] { scroll-margin-top: 90px; }
.rsvp-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rsvp-callout h2 { margin: 0 0 6px; }
.rsvp-callout p { margin: 0; color: var(--muted); }
.rsvp-callout .btn { flex: 0 0 auto; }
@media (min-width: 1001px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-more[aria-expanded="true"] + .nav-dropdown-menu { display: grid; gap: 4px; }
}
@media (max-width: 1000px) {
  .topbar-inner { flex-direction: row; align-items: center; padding: 10px 0; }
  .brand { font-size: 1rem; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font: inherit;
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 75px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
    background: #fffaf7;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav-more { display: flex; width: 100%; min-height: 44px; align-items: center; padding: 9px 14px; font-size: 1rem; text-align: left; }
  .nav-more { justify-content: space-between; }
  .nav-dropdown-menu { position: static; min-width: 0; margin: 0 0 6px 12px; box-shadow: none; background: #fff; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-more[aria-expanded="true"] + .nav-dropdown-menu { display: grid; gap: 2px; }
  section[id] { scroll-margin-top: 76px; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding-top: 24px; }
  .hero-photo { min-height: 230px; }
  .card { padding: 22px 18px; }
  .hero-actions .btn { width: 100%; }
  .rsvp-callout { flex-direction: column; align-items: stretch; }
}
