/* The original N&S masthead stays at the top on every screen. */
.portrait-first .header{position:fixed;display:flex;top:0;left:0;right:0;padding:22px 4vw;border-radius:0;background:#211316f2;color:#f4eddf;border:0;border-bottom:1px solid #d8b78b25;box-shadow:0 4px 20px #160d1510;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:40}
.portrait-first .header .monogram{flex-shrink:0}
.portrait-first .header .rsvp-nav{background:#ad2634;color:#fffaf2;border-radius:999px;padding:10px 17px}
.portrait-first .mobile-dock{display:none}
#celebration-dates{scroll-margin-top:66px}
.portrait-first #welcome,.portrait-first #wish-for-us,.portrait-first #gifting{scroll-margin-top:70px}
@media(max-width:700px){
.portrait-first .header{padding:calc(12px + env(safe-area-inset-top)) 18px 12px;gap:16px}
.portrait-first .header-note{display:none}
.portrait-first .header nav{display:flex;gap:14px;align-items:center;font-size:13px}
.portrait-first .header nav a:first-child{display:inline-block}
.portrait-first .header nav a{font-size:13px}
.portrait-first .header .rsvp-nav{font-size:13px;padding:9px 13px}
#celebration-dates{scroll-margin-top:calc(60px + env(safe-area-inset-top))}
}
@media(max-width:360px){.portrait-first .header{padding-inline:12px;gap:10px}.portrait-first .header nav{gap:10px}}
/* One measured offset replaces stacked browser and target offsets. */
html{scroll-padding-top:var(--nav-anchor-offset,88px)}
#celebration-dates{scroll-margin-top:0}
