/* One glass surface for Places, People and Modus Go navigation. */
:root {
  --navigation-glass: rgba(255,255,255,.52);
  --navigation-highlight: rgba(255,255,255,.55);
  --navigation-edge: rgba(255,255,255,.72);
  --navigation-landscape-fade: #f7f7f4;
  --navigation-landscape-shade: linear-gradient(90deg,rgba(247,247,244,.84),rgba(247,247,244,.45) 48%,rgba(247,247,244,.08) 78%);
}
:root[data-theme="dark"], body[data-theme="dark"] {
  --navigation-glass: rgba(8,23,31,.46);
  --navigation-highlight: rgba(255,255,255,.10);
  --navigation-edge: rgba(194,221,231,.38);
  --navigation-landscape-fade: #081216;
  --navigation-landscape-shade: linear-gradient(90deg,rgba(3,13,19,.58),rgba(3,13,19,.24) 48%,rgba(3,13,19,.04) 78%);
}
/* Reuse the reference tokens so future Places adjustments stay shared. */
body:has(.places-browse) {
  --browse-glass: var(--navigation-glass);
  --browse-glass-highlight: var(--navigation-highlight);
  --browse-glass-edge: var(--navigation-edge);
}
body:has(.social-people-page) { background: var(--navigation-landscape-fade); min-height:100dvh; }
body:has(.social-people-page)::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 650px;
  pointer-events: none;
  background: linear-gradient(180deg,transparent 55%,var(--navigation-landscape-fade)),var(--navigation-landscape-shade),url('assets/go/mountain-road-hero.jpg') center 48%/cover no-repeat;
}
@media(min-width:701px) {
  .go-shell.desktop-introduction::before {
    content: ''; display:block; position:absolute; inset:0 0 auto; height:650px; pointer-events:none;
    background:linear-gradient(180deg,transparent 55%,var(--navigation-landscape-fade)),var(--navigation-landscape-shade),url('assets/go/mountain-road-hero.jpg') center 48%/cover no-repeat;
  }
}
body:has(.social-people-page) .social-page { position: relative; }
body:has(:is(.places-browse,.social-people-page)) .topbar,
:root[data-theme] .go-shell>.go-header {
  position: relative;
  background: linear-gradient(160deg,var(--navigation-highlight),transparent 55%),var(--navigation-glass);
  -webkit-backdrop-filter: blur(9px) saturate(140%);
  backdrop-filter: blur(9px) saturate(140%);
  border-bottom: 1px solid var(--navigation-edge);
  box-shadow: inset 0 1px 0 var(--navigation-highlight),0 5px 18px #00000018;
}
@media(min-width:721px) {
  body:has(.social-people-page) .topbar { height:78px; }
  body:has(.social-people-page) .topbar .nav { background:transparent; }
  body:has(.social-people-page) .topbar .nav button:not(.active) { color:var(--text-primary); }
  .go-shell>.go-header { height:78px; }
  .go-shell.desktop-introduction>.go-header { padding-inline:4%; }
  .go-shell.desktop-introduction .go-brand img { width:183px!important; }
  .go-shell.desktop-introduction .go-header nav button { font:650 16px 'DM Sans',sans-serif; }
  .go-shell.desktop-introduction .go-nav-art { width:32px;height:32px;object-fit:contain;background:transparent;box-shadow:none; }
  .go-shell.desktop-introduction .go-header nav button.is-active { color:var(--primary,#a61b26); }
  .go-shell.desktop-introduction .go-header nav button.is-active::after { background:transparent; }
}

/* Public profiles use the same full-width primary bar as the application. */
:root[data-public-profile-theme="dark"] {
  --navigation-glass:rgba(8,23,31,.46);
  --navigation-highlight:rgba(255,255,255,.10);
  --navigation-edge:rgba(194,221,231,.38);
  --navigation-landscape-fade:#081216;
  --navigation-landscape-shade:linear-gradient(90deg,rgba(3,13,19,.58),rgba(3,13,19,.24) 48%,rgba(3,13,19,.04) 78%);
}
body:has(.public-standard-nav) { background:var(--navigation-landscape-fade);min-height:100dvh; }
body:has(.public-standard-nav)::before {
  content:'';position:absolute;inset:0 0 auto;height:650px;pointer-events:none;
  background:linear-gradient(180deg,transparent 55%,var(--navigation-landscape-fade)),var(--navigation-landscape-shade),url('assets/go/mountain-road-hero.jpg') center 48%/cover no-repeat;
}
body:has(.public-standard-nav) #social-root { position:relative; }
body .public-standard-nav {
  width:100%;max-width:none;margin:0;min-height:0;height:78px;padding:0 4%;gap:24px;position:relative;z-index:30;
  background:linear-gradient(160deg,var(--navigation-highlight),transparent 55%),var(--navigation-glass);
  backdrop-filter:blur(9px) saturate(140%);-webkit-backdrop-filter:blur(9px) saturate(140%);
  border-bottom:1px solid var(--navigation-edge);
  box-shadow:inset 0 1px 0 var(--navigation-highlight),0 5px 18px #00000018;
}
.public-standard-nav .social-brand { margin:0;gap:11px;color:var(--ink,#293940);text-decoration:none; }
.public-standard-nav .social-global-links { gap:3px; }
.public-standard-nav .social-global-links a { display:flex;align-items:center;gap:10px;padding:12px;border-radius:30px;white-space:nowrap;font:650 16px 'DM Sans',sans-serif;text-decoration:none; }
.public-standard-nav .right-tools { margin-left:auto;gap:14px; }
.public-standard-nav .social-mobile-control,.public-standard-nav .public-account-link,.public-standard-nav .social-mobile-menu { display:block; }
.public-standard-nav .social-mobile-control,.public-standard-nav .public-account-link,.public-standard-nav .social-mobile-menu summary { display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--navigation-edge);border-radius:50%;background:rgba(13,32,40,.08);color:inherit;cursor:pointer; }
.public-standard-nav .right-tools svg { width:22px;height:22px; }
.public-standard-nav #social-global-search { display:none; }
.public-standard-nav #social-global-search.is-open { display:block;position:absolute;z-index:21;top:100%;right:4%;left:auto;width:min(350px,calc(100vw - 24px));max-width:none;margin:8px 0;padding:12px;background:var(--panel,var(--paper));border:1px solid var(--line);border-radius:12px; }
.public-standard-nav .social-global-links a:focus-visible,.public-standard-nav .right-tools :is(a,button,summary):focus-visible { outline:2px solid #35b9df;outline-offset:3px; }
@media(min-width:761px) {
  .public-standard-nav>.nav { position:absolute;left:50%;transform:translateX(-50%);background:transparent; }
  .public-standard-nav .social-global-links a:first-child { display:flex; }
}
@media(max-width:1100px) and (min-width:761px) {
  body .public-standard-nav { padding-inline:24px; }
  .public-standard-nav .brand-wordmark { display:none; }
  .public-standard-nav .social-global-links a { padding:6px;gap:6px;font-size:14px; }
  .public-standard-nav .nav-art { width:24px;height:24px;flex:0 0 24px; }
  .public-standard-nav .nav-art img { width:24px;height:24px; }
  .public-standard-nav .right-tools { gap:8px; }
}
@media(max-width:760px) {
  body .public-standard-nav { height:70px;padding:0 16px;flex-wrap:nowrap;gap:12px; }
  .public-standard-nav .social-global-links { display:none; }
  .public-standard-nav .brand-wordmark { display:none; }
  .public-standard-nav .right-tools { gap:8px; }
  .public-standard-nav .social-brand { margin-right:auto; }
}

/* Adventura wordmark: match the contribution flow's restrained capitals. */
.brand .brand-wordmark{font-family:'DM Sans',sans-serif;font-size:18px;font-weight:700;line-height:1;letter-spacing:.18em;text-transform:uppercase;color:#f3f4f4}

/* Preserve the primary labels' casing, including the MODUS Go name. */
.topbar>.nav button,.public-standard-nav .social-global-links a,.go-shell>.go-header nav button{font-family:'DM Sans',sans-serif;font-weight:700;text-transform:none;letter-spacing:normal}
@media(min-width:1151px){.topbar>.nav button,.public-standard-nav .social-global-links a,.go-shell>.go-header nav button{font-size:14px}}
.public-standard-nav .social-mobile-menu nav a:is([href="/#places"],[href="/#people"],[href="/#adventures"],[href="/#go"]){text-transform:none;letter-spacing:normal}

/* Browser routes share Go's centered icon-and-label layout and app controls. */
@media(min-width:721px){
 html:not([data-adventura-native="true"]) body #app>.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);height:78px;padding:0 4%;gap:24px}
 html:not([data-adventura-native="true"]) #app>.topbar>.brand{justify-self:start}
 html:not([data-adventura-native="true"]) #app>.topbar>.nav{position:static;transform:none;align-self:stretch;align-items:stretch;gap:42px;border:0;padding:0}
 html:not([data-adventura-native="true"]) #app>.topbar>.nav button{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 3px;min-width:72px;border:0;border-radius:0;background:transparent;font:650 16px 'DM Sans',sans-serif;white-space:nowrap}
 html:not([data-adventura-native="true"]) #app>.topbar .nav-art{width:32px;height:32px;flex-basis:32px;object-fit:contain;transform:none}
 html:not([data-adventura-native="true"]) #app>.topbar>.right-tools{justify-self:end;margin:0}
}
@media(min-width:721px) and (max-width:1200px){
 html:not([data-adventura-native="true"]) body #app>.topbar{padding-inline:20px;gap:12px}
 html:not([data-adventura-native="true"]) #app>.topbar>.nav{gap:16px}
 html:not([data-adventura-native="true"]) #app>.topbar>.nav button{font-size:14px;min-width:0;gap:6px}
 html:not([data-adventura-native="true"]) #app>.topbar .brand-wordmark{display:none}
}
@media(min-width:721px) and (max-width:900px){
 html:not([data-adventura-native="true"]) body #app>.topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:12px}
 html:not([data-adventura-native="true"]) #app>.topbar>.nav{justify-content:center;gap:10px}
 html:not([data-adventura-native="true"]) #app>.topbar .nav-art{width:27px;height:27px;flex-basis:27px}
}
html:not([data-adventura-native="true"]) #app>.topbar .brand-wordmark{color:var(--text-primary,var(--ink))}
body:has(.people-discovery-page){background:#0b181e}
body:has(.people-discovery-page)::before{background:linear-gradient(180deg,rgba(3,13,19,.28),#0b181e 95%),linear-gradient(90deg,rgba(3,13,19,.62),rgba(3,13,19,.2)),url('assets/go/mountain-road-hero.jpg') center 48%/cover no-repeat}

/* Standalone public pages use the Places bar without depending on People CSS. */
body .public-standard-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.public-standard-nav .social-brand{display:flex;align-items:center;justify-self:start}
.public-standard-nav .social-brand .brand-symbol{width:34px;height:34px}
.public-standard-nav>.social-global-links{position:static;transform:none;display:flex;align-self:stretch;align-items:stretch;gap:42px;border:0;padding:0;background:transparent}
.public-standard-nav .social-global-links a{justify-content:center;padding:0 3px;min-width:72px;border-radius:0;font-size:16px;gap:8px}
.public-standard-nav .right-tools{display:flex;align-items:center;justify-self:end;margin:0}
.public-standard-nav .social-mobile-menu{position:relative}
.public-standard-nav .social-mobile-menu summary{list-style:none}
.public-standard-nav .social-mobile-menu summary::-webkit-details-marker{display:none}
.public-standard-nav .social-mobile-menu:not([open])>nav{display:none}
.public-standard-nav .social-mobile-menu>nav{position:absolute;z-index:40;top:calc(100% + 20px);right:0;left:auto;bottom:auto;transform:none;display:grid;gap:4px;width:260px;max-width:calc(100vw - 32px);padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--panel,var(--paper));color:var(--ink);box-shadow:0 12px 32px #0004}
.public-standard-nav .social-mobile-menu>nav a{display:block;padding:12px;text-decoration:none;font-size:14px;line-height:1.4;border-radius:6px;text-transform:none;letter-spacing:normal;white-space:normal}
.public-standard-nav .social-mobile-menu>nav a:hover{background:var(--surface)}
@media(min-width:761px) and (max-width:1200px){body .public-standard-nav{padding-inline:20px;gap:12px}.public-standard-nav .brand-wordmark{display:none}.public-standard-nav>.social-global-links{gap:16px}.public-standard-nav .social-global-links a{font-size:14px;min-width:0;gap:6px}}
@media(min-width:761px) and (max-width:900px){body .public-standard-nav{grid-template-columns:auto minmax(0,1fr) auto}.public-standard-nav>.social-global-links{justify-content:center;gap:10px}.public-standard-nav .nav-art{width:27px;height:27px;flex-basis:27px}}
@media(max-width:760px){body .public-standard-nav{display:flex;height:70px;min-height:70px;padding:0 16px;flex-wrap:nowrap;gap:12px}.public-standard-nav>.social-global-links{display:none}.public-standard-nav .social-brand{margin-right:auto}}
