/* The same geometry and navigation on every public page. */
:root{--site-header-height:96px;--section-title-size:32px;--section-top-gap:32px;scrollbar-gutter:stable}
body:has(>#header.site-header){padding-top:var(--site-header-height)}
body #header.site-header{position:fixed;inset:0 0 auto;z-index:20}
body #header.site-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;width:calc(100% - 96px);max-width:1200px;height:var(--site-header-height);min-height:var(--site-header-height);margin:0 auto;padding:0;gap:24px;border-bottom:1px solid var(--line);background:#fbf8f2}
body #header.site-header .brand-area{display:flex;align-items:center;gap:24px;flex:none}
body #header.site-header .brand{display:flex;align-items:center;gap:10px;padding:0;text-decoration:none;color:var(--ink)}
body #header.site-header .brand img{order:-1;display:block;width:46px;height:54px;object-fit:contain;flex:none}
body #header.site-header .wordmark{font-family:Nunito,ui-rounded,system-ui,sans-serif;font-size:38px;line-height:1;font-weight:900;letter-spacing:-1px}
body #header.site-header .tagline{display:block;font-size:14px;line-height:1.35;font-weight:600;white-space:nowrap}
body #header.site-header .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex:none}
body #header.site-header .nav-link{display:inline-flex;align-items:center;min-height:44px;font-size:18px;line-height:1.4;font-weight:700;padding:10px 4px;text-decoration:none}
body #header.site-header [aria-current=page]{text-decoration:underline;text-underline-offset:5px}
body #header.site-header .icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;padding:0;border:1px solid var(--line);border-radius:14px;gap:0;background:transparent;color:var(--ink);text-decoration:none}
body #header.site-header .icon-button .i{width:26px;height:26px}
body #header.site-header .icon-button:after{content:none;display:none}
body.map-page .workspace{height:calc(100dvh - var(--site-header-height));min-height:0}
body.inspiration-route:has(.swipe-discovery) #main{height:calc(100dvh - var(--site-header-height));min-height:0}
@media(min-width:761px) and (max-width:1000px){
 body #header.site-header{width:calc(100% - 64px);gap:16px}
 body #header.site-header .brand-area{gap:16px}
 body #header.site-header .tagline{font-size:12px}
 body #header.site-header .header-actions{gap:14px}
}
@media(max-width:760px){
 :root{--site-header-height:64px;--section-title-size:27px;--section-top-gap:20px}
 body #header.site-header{width:100%;max-width:none;display:flex;padding:6px 16px;gap:8px}
 body #header.site-header .brand-area{width:auto;gap:0}
 body #header.site-header .brand{gap:5px}
 body #header.site-header .brand img{width:36px;height:42px}
 body #header.site-header .wordmark{font-size:30px;letter-spacing:-1px}
 body #header.site-header .tagline{display:none}
 body #header.site-header .header-actions{width:auto;height:44px;gap:4px}
 body #header.site-header .nav-link{font-size:14px;min-height:44px;padding:10px 4px}
 body #header.site-header .icon-button{width:40px;height:40px;border:0;border-radius:10px}
 body #header.site-header .icon-button .i{width:24px;height:24px}
 body.map-page .workspace{--mobile-panel-height:min(calc((100dvh - var(--site-header-height))*.61),calc(100dvh - 284px))}
}

/* Discovery and contact use the same heading typography. */
body.inspiration-route .swipe-discovery .inspiration-heading h1,
body.contact-page .contact-content h1{font-family:inherit;font-size:var(--section-title-size);font-weight:700;line-height:1.2;letter-spacing:-.5px}
.contact-content{max-width:708px;margin:0 auto;padding:var(--section-top-gap) 24px 56px}
body.inspiration-route .swipe-discovery{padding-top:var(--section-top-gap)}
body.inspiration-route .swipe-discovery .inspiration-heading{min-height:0;padding-top:0}
.contact-content h1{margin:0 0 24px}
.contact-content .contact-copy a{font-weight:700}
@media(max-width:760px){.contact-content{padding:var(--section-top-gap) 20px 40px}}
@media(max-width:360px){
 body #header.site-header{padding-inline:12px}
 body #header.site-header .brand img{width:32px;height:38px}
 body #header.site-header .wordmark{font-size:27px}
 body #header.site-header .header-actions{gap:2px}
 body #header.site-header .nav-link{font-size:13px}
 body #header.site-header .icon-button{width:36px}
}

/* Fit the community invitation on common laptop and desktop viewports. */
@media(min-width:761px) and (max-height:1000px) and (hover:hover) and (pointer:fine){
 body.welcome-page .home-intro{min-height:calc(100svh - var(--site-header-height));padding-bottom:88px}
 body.welcome-page .home-photo{bottom:88px}
 body.welcome-page .home-copy{padding-block:24px}
 body.welcome-page .home-copy h1{font-size:clamp(36px,4vw,52px);line-height:1.08;margin-bottom:18px}
 body.welcome-page .home-description{font-size:18px;line-height:1.4;margin-bottom:20px}
 body.welcome-page .home-start{min-height:54px;font-size:20px;padding-block:12px}
 body.welcome-page .home-discovery{min-height:64px;margin-top:16px;padding:10px 12px}
 body.welcome-page .home-discovery-title{font-size:18px}
 body.welcome-page .home-discovery-helper{font-size:14px}
 body.welcome-page .home-community{height:88px;padding:16px 32px;font-size:18px}
}
