/* NEXUS homepage P0. The approved original star and wordmark remain the source.
   Public-shell corrections are isolated from booking and merchant workbenches. */
.nx-five-header{display:flex;align-items:center;gap:24px;min-height:76px;padding:12px clamp(20px,4vw,64px);box-sizing:border-box;background:#fbfaf7;color:#15233a}
.nx-five-header .wordmark{display:flex;align-items:center;flex:0 0 172px;width:172px;min-width:0;height:44px;margin:0}
.nx-five-header .nexus-brand,.nx-five-footer .nexus-brand{display:flex;align-items:center;gap:10px;width:172px;transform:none}
.nx-five-header .nexus-brand-mark,.nx-five-footer .nexus-brand-mark{width:32px;height:32px;flex:0 0 32px}
.nx-five-header .nexus-brand-type,.nx-five-footer .nexus-brand-type{width:130px;height:22px;flex:0 0 130px;overflow:hidden;transform:none}
.nx-five-header .nexus-brand-type img,.nx-five-footer .nexus-brand-type img{height:60px;top:-20px;left:-56px}
.nx-five-header .desktop-nav{flex:1;display:flex;align-items:center;justify-content:center;gap:clamp(16px,2vw,28px);min-width:0}
.nx-five-header .header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:0}
.nx-five-header .header-actions .merchant-login{display:inline-flex!important;align-items:center;justify-content:center;min-width:68px;min-height:44px;padding:10px 15px!important;background:#152b43!important;color:#fff!important;border:1px solid #152b43;border-radius:12px;font-size:13px;line-height:1.2;white-space:nowrap}
.nx-five-header .header-actions .merchant-login:hover{background:#27445e!important;color:#fff!important;transform:none}
.nx-five-header .nx-search-toggle{display:inline-flex!important;width:44px;height:44px;min-width:44px}
.nx-five-header .header-time-knob{width:46px;height:46px;min-width:46px}
.nx-five-header :is(a,button):focus-visible,.nx-discovery-home :is(a,button):focus-visible{outline:3px solid #ba8d43;outline-offset:3px}
body[data-nexus-page=landing] .nx-discovery-home{padding-top:20px}
body[data-nexus-page=landing] .nx-home-hero{height:clamp(360px,49svh,460px);min-height:0;margin-bottom:22px;border-radius:22px}
body[data-nexus-page=landing] .nx-hero-copy{top:36px;left:40px;right:auto;max-width:65%;padding:0}
body[data-nexus-page=landing] .nx-hero-copy h1{font-size:clamp(40px,4.5vw,64px);line-height:1.05;letter-spacing:-.05em;max-width:none;margin:0}
body[data-nexus-page=landing] .nx-hero-copy h1 span,body[data-nexus-page=landing] .nx-hero-copy h1 em{display:block;white-space:nowrap}
body[data-nexus-page=landing] .nx-hero-copy p{font-size:15px;line-height:1.55;margin:18px 0 10px}
body[data-nexus-page=landing] .nx-hero-discover{display:inline-flex;align-items:center;gap:18px;min-height:44px;margin:0;font-size:13px}
body[data-nexus-page=landing] .nx-hero-venue{left:auto;right:88px;bottom:30px;top:auto;text-align:right;max-width:38%}
body[data-nexus-page=landing] .nx-hero-venue h2{font-size:32px;margin:6px 0 8px}
body[data-nexus-page=landing] .nx-hero-venue p{font-size:13px;margin:0 0 4px}
body[data-nexus-page=landing] .nx-hero-venue :is(a,button){min-height:44px;display:inline-flex;align-items:center}
body[data-nexus-page=landing] .nx-hero-playback{width:44px;height:44px;right:24px;bottom:26px}
body[data-nexus-page=landing] .nx-place-section.ref-browse{padding-top:24px;margin-top:0}
body[data-nexus-page=landing] .nx-place-section.ref-browse>header{margin-bottom:20px}
body[data-nexus-page=landing] .nx-place-section.ref-browse h2{font-size:clamp(30px,3vw,42px);line-height:1.12;margin:8px 0}
body[data-nexus-page=landing] .nx-place-section.ref-browse p{font-size:14px;margin:0}
/* Fail open, including old classes left by a route update or a delayed module.
   WAAPI adds motion only while an element is entering; no hidden end state. */
body[data-nexus-page=landing] .nx-discovery-home .nx-reveal{opacity:1;transform:none;transition:none}
body[data-nexus-page=landing] .nx-spatial-narrative .nx-story-intro{min-height:0;padding:44px 0 30px}
@media(max-width:1100px){.nx-five-header .location-chip{display:none}.nx-five-header{gap:18px}.nx-five-header .desktop-nav{gap:16px}}
@media(max-width:900px){.nx-five-header .desktop-nav{display:none}.nx-five-header .header-actions{margin-left:auto}.nx-public-mobile{display:grid}}
@media(max-width:600px){
 .nx-five-header{min-height:68px;padding:10px 16px;gap:8px}
 .nx-five-header .wordmark{width:128px;flex-basis:128px}
 .nx-five-header .nexus-brand{width:128px;gap:7px}
 .nx-five-header .nexus-brand-mark{width:26px;height:26px;flex-basis:26px}
 .nx-five-header .nexus-brand-type{width:95px;height:17px;flex-basis:95px}
 .nx-five-header .nexus-brand-type img{height:44px;top:-15px;left:-41px}
 .nx-five-header .header-actions{gap:6px}
 .nx-five-header .header-actions .merchant-login{min-width:56px;padding:10px 8px!important;font-size:12px}
 .nx-five-header .header-time-knob{width:44px;height:44px;min-width:44px}
 body[data-nexus-page=landing] .nx-discovery-home{padding:14px 16px 0}
 body[data-nexus-page=landing] .nx-home-hero{height:350px;min-height:0;margin-bottom:16px;border-radius:20px}
 body[data-nexus-page=landing] .nx-hero-copy{top:24px;left:22px;right:20px;max-width:none}
 body[data-nexus-page=landing] .nx-hero-copy h1{font-size:clamp(29px,7.7vw,36px);letter-spacing:-.045em;line-height:1.08}
 body[data-nexus-page=landing] .nx-hero-copy p{font-size:13px;line-height:1.5;margin:14px 0 6px}
 body[data-nexus-page=landing] .nx-hero-venue{left:22px;right:72px;bottom:15px;max-width:none;text-align:left}
 body[data-nexus-page=landing] .nx-hero-venue>span{font-size:9px;line-height:1.4}
 body[data-nexus-page=landing] .nx-hero-venue h2{font-size:24px;margin:4px 0 0}
 body[data-nexus-page=landing] .nx-hero-venue p{display:none}
 body[data-nexus-page=landing] .nx-hero-venue :is(a,button){font-size:12px;min-height:44px;padding:0}
 body[data-nexus-page=landing] .nx-hero-playback{right:16px;bottom:18px}
 body[data-nexus-page=landing] .nx-place-section.ref-browse{padding-top:20px}
 body[data-nexus-page=landing] .nx-place-section.ref-browse>header{margin-bottom:16px}
 body[data-nexus-page=landing] .nx-spatial-narrative .nx-story-intro{padding:28px 2px 20px}
}
@media(prefers-reduced-motion:reduce){body[data-nexus-page=landing] .nx-discovery-home *{scroll-behavior:auto!important}}

/* Later-loaded legacy styles carry !important night-mode header overrides.
   Own the public paper header explicitly rather than changing merchant tokens. */
body[data-nexus-page] header.global-header.nx-five-header .header-actions a.merchant-login{color:#fff!important;background:#152b43!important;min-height:44px!important;padding:10px 15px!important}
body[data-nexus-page=landing] .nx-hero-frame .nx-hero-venue{bottom:24px!important;top:auto!important;transform:none!important}
body[data-nexus-page=landing] .nx-discovery-home .nx-friend-discovery:empty{display:none;margin:0;padding:0}
body[data-nexus-page=landing] .nx-discovery-home .ref-browse{padding-top:20px!important}
body[data-nexus-page=landing] .nx-discovery-home .nx-home-hero{height:clamp(340px,42svh,400px);margin-bottom:18px!important}
body[data-nexus-page=directory] .nx-directory{color-scheme:light;--ink:#15233a;--muted:#536179}
body[data-nexus-page=directory] .nx-directory :is(input,select){background:#fff;color:#15233a;border:1px solid #b8c1ca;color-scheme:light;font-size:16px;min-height:48px;padding:12px 14px;border-radius:10px;caret-color:#15233a}
body[data-nexus-page=directory] .nx-directory input::placeholder{color:#59687a;opacity:1}
body[data-nexus-page=directory] .nx-directory select option{background:#fff;color:#15233a}
body[data-nexus-page=directory] .nx-directory :is(input,select):hover:not(:disabled){border-color:#687b8e}
body[data-nexus-page=directory] .nx-directory :is(input,select):focus-visible{outline:3px solid #ba8d43;outline-offset:2px;border-color:#152b43}
body[data-nexus-page=directory] .nx-directory :is(input,select):disabled{background:#eeeae2;color:#65717e;cursor:not-allowed}
body[data-nexus-page=directory] .nx-directory :is(input,select)[aria-invalid=true]{border-color:#b13430;outline-color:#b13430}
body[data-nexus-page=directory] .nx-directory input:autofill{background:#fff;color:#15233a;box-shadow:0 0 0 1000px #fff inset}
body[data-nexus-page=directory] .nx-directory input:-webkit-autofill{-webkit-text-fill-color:#15233a;-webkit-box-shadow:0 0 0 1000px #fff inset;caret-color:#15233a}
@media(max-width:600px){
 body[data-nexus-page] header.global-header.nx-five-header .header-actions a.merchant-login{min-width:56px;padding:10px 8px!important}
 body[data-nexus-page=landing] .nx-hero-frame .nx-hero-venue{bottom:14px!important}
 body[data-nexus-page=landing] .nx-discovery-home .nx-home-hero{height:310px}
}
