/* The menu bar at the top of every public page: the line logo as a sticker, Map, Press, Make your post and Add your place
   (no Brand: the brand team took it out on 2026-11-05; /brand/ is linked from the home footer and the press page).
   Markup lives in each page (no build step); /shared/menu.js opens the phone menu. Every rule is scoped to .nb-bar. */
/* moving between pages: the bar stays put and the page underneath cross-fades (Chrome, Edge, Safari 18.2+) */
@view-transition { navigation: auto; }
.nb-bar { view-transition-name: nb-bar; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
@property --p { syntax: "<length>"; inherits: true; initial-value: 0px; }
.nb-bar { --nb-ink: #100f0f; --nb-mute: rgba(16,15,15,.6); --nb-line: rgba(16,15,15,.1); --nb-pad: clamp(16px, 3.4vw, 48px);
  position: sticky; top: 0; z-index: 45; background: var(--nb-bg, #fff); container-type: inline-size; font: 400 15px/1.2 "Geist", system-ui, sans-serif; color: var(--nb-ink); }
.nb-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--nb-line); opacity: 0; transition: opacity .2s; } /* a hairline once the page scrolls under the bar */
.nb-bar.nb-scrolled::after, .nb-bar.nb-open::after { opacity: 1; }
.nb-in { display: flex; align-items: center; gap: 24px; height: 76px; padding: 0 var(--nb-pad); }

/* the logo: the line logo as a small sticker, peeling at the top right corner, as on the home page */
.nb-bar .peel { --p: 10px; --cut: polygon(0 0, calc(100% - var(--p)) 0, 100% var(--p), 100% 100%, 0 100%); position: relative; display: block; flex: none; width: 150px; transform: rotate(-3deg); filter: drop-shadow(0 1px 1px rgba(16,15,15,.14)) drop-shadow(0 4px 8px rgba(16,15,15,.1)); transition: transform .5s cubic-bezier(.2,.9,.3,1.2), --p .5s cubic-bezier(.2,.9,.3,1.1); }
.nb-bar .peel:hover { --p: 17px; }
.nb-bar .peel img { display: block; width: 100%; height: auto; clip-path: var(--cut); }
.nb-bar .peel .crease, .nb-bar .peel .gloss { position: absolute; inset: 0; clip-path: var(--cut); pointer-events: none; -webkit-mask: url("/blocks/brand/assets/logo/line-tagline-border.svg") 0 0 / 100% 100% no-repeat; mask: url("/blocks/brand/assets/logo/line-tagline-border.svg") 0 0 / 100% 100% no-repeat; }
.nb-bar .peel .crease { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.0035 0.011' numOctaves='3' seed='7'/><feDiffuseLighting lighting-color='white' surfaceScale='3.2'><feDistantLight azimuth='225' elevation='38'/></feDiffuseLighting></filter><rect width='600' height='600' filter='url(%23f)'/></svg>") center / cover; mix-blend-mode: multiply; opacity: .22; }
.nb-bar .peel .gloss { background: radial-gradient(circle at 100% 0, rgba(16,15,15,.22), rgba(16,15,15,0) calc(var(--p) * 2.2)), linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.2) 46%, rgba(255,255,255,0) 62%); }
.nb-bar .peel::after { content: ""; position: absolute; right: 0; top: 0; width: var(--p); height: var(--p); clip-path: polygon(0 0, 0 100%, 100% 100%); background: linear-gradient(45deg, #e9e6df 0%, #fbfaf7 28%, #ffffff 42%, #e4e1d9 66%, #c9c4b9 100%); } /* the curled corner shows the white underside */

/* the links: a brand shape slides in before the current page and on hover */
.nb-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nb-links a { display: inline-flex; align-items: center; text-decoration: none; color: var(--nb-mute); font-weight: 500; white-space: nowrap; transition: color .2s; }
.nb-links a:hover, .nb-links a[aria-current="page"] { color: var(--nb-ink); }
.nb-shape { flex: none; display: block; width: 0; height: 9px; margin-right: 0; background: var(--c); transition: width .3s cubic-bezier(.2,.9,.3,1.2), margin .3s cubic-bezier(.2,.9,.3,1.2); }
.nb-links a:hover .nb-shape, .nb-links a[aria-current="page"] .nb-shape { width: 9px; margin-right: 7px; }
.nb-shape.sq { border-radius: 1.5px; } .nb-shape.ci { border-radius: 50%; } .nb-shape.tr { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.nb-links a.nb-cta { height: 42px; padding: 0 18px; border-radius: 999px; background: var(--nb-ink); color: #fff; transition: background .2s, transform .15s; }
.nb-links a.nb-cta:hover { background: #f94a2e; transform: rotate(-2deg); }
.nb-links a.nb-cta .nb-shape { width: 16px; height: 8px; margin-right: 9px; border-radius: 6px; } /* the pink pill, always there */
.nb-links a.nb-cta[aria-current="page"] { background: var(--nb-ink); transform: none; }

/* the phone menu: a pill button, then the links large, dropping under the bar */
.nb-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 18px; border: 0; border-radius: 999px; background: #ebe9e1; color: var(--nb-ink); font: 500 15px "Geist", system-ui, sans-serif; cursor: pointer; }
.nb-toggle i { position: relative; display: block; width: 16px; height: 10px; }
.nb-toggle i::before, .nb-toggle i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s cubic-bezier(.2,.9,.3,1.2), top .3s; }
.nb-toggle i::before { top: 0; } .nb-toggle i::after { top: 8px; }
.nb-open .nb-toggle i::before { top: 4px; transform: rotate(45deg); } .nb-open .nb-toggle i::after { top: 4px; transform: rotate(-45deg); }
.nb-sheet { display: none; }

@container (max-width: 600px) {
  .nb-in { height: 64px; }
  .nb-bar .peel { width: 124px; }
  .nb-in > .nb-links { display: none; }
  .nb-toggle { display: inline-flex; }
  .nb-sheet { position: absolute; left: 0; right: 0; top: 100%; display: block; height: calc(100dvh - 64px); overflow-y: auto; background: var(--nb-sheet-bg, var(--nb-bg, #fff)); padding: 12px var(--nb-pad) calc(28px + env(safe-area-inset-bottom)); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; }
  .nb-open .nb-sheet { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
  .nb-sheet .nb-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nb-sheet .nb-links a { padding: 16px 0; border-bottom: 1px solid var(--nb-line); color: var(--nb-ink); font: 550 34px/1.05 "Erode", Georgia, serif; letter-spacing: -.02em; }
  .nb-sheet .nb-links a .nb-shape, .nb-sheet .nb-links a[aria-current="page"] .nb-shape { width: 14px; height: 14px; margin-right: 14px; } /* always shown, large */
  .nb-sheet .nb-links a.nb-cta { order: 9; justify-content: center; height: 56px; margin-top: 24px; padding: 0 24px; border: 0; color: #fff; font: 500 17px "Geist", system-ui, sans-serif; letter-spacing: 0; }
  .nb-sheet .nb-links a.nb-cta .nb-shape, .nb-sheet .nb-links a.nb-cta[aria-current="page"] .nb-shape { width: 20px; height: 10px; margin-right: 10px; }
}
html.nb-lock, html.nb-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .nb-bar *, .nb-bar *::before, .nb-bar *::after { transition: none !important; } }
.nb-bar .peel:active, .nb-bar .peel.lift { transform: rotate(-1deg) translateY(-2px); } /* the home page lets you peel it off */
.nb-bar a:focus-visible, .nb-bar button:focus-visible { outline: 2px solid var(--nb-ink); outline-offset: 3px; } /* keyboard focus: an ink ring */
