/* Public service directory and shared site chrome. Shop-owned themes stay local. */
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) {
  --silk:#f5f5f2; --card:#ffffff; --mat:#ebeae5; --mat-2:#e2e3df;
  --ink:#15191e; --ink-2:#384149; --muted:#59636b;
  --line:#d9dcd7; --line-strong:#b8c0ba;
  --pcb:#171b20; --pcb-deep:#0d0f12; --pcb-2:#222830; --trace:#363e48;
  --r:4px; --r-lg:6px;
}
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) :is(h1,h2,h3,h4) { letter-spacing:-.025em; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) h1 { font-weight:650; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) h2 { font-weight:620; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) :is(.page-head,.page-pad) { padding-block:40px; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .page-head { border-bottom:1px solid var(--line); }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .page-head h1 { font-size:clamp(2rem,3.2vw,2.75rem); }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .section { padding-block:64px; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) :is(.panel,.aside-card,.dash-card) { border-radius:4px; }

/* Existing mark and a compact graphite masthead. */
.masthead { background:#0d0f12; border-bottom:1px solid #363e48; }
.masthead .primary-nav a { font-size:.875rem; letter-spacing:-.01em; }
.masthead .brand-map-link { background:transparent; color:#f5f5f2; border-color:#69717a; border-radius:3px; }
.masthead .brand-map-link:hover { background:#222830; border-color:#f5f5f2; }
.masthead .brand-map-link:focus-visible { outline-color:#ff6b35; }
.site-footer { padding-block:48px 24px; }
.site-footer .footer-statement { font-size:1.4rem; font-weight:500; letter-spacing:-.02em; }
.site-footer .footer-note { max-width:38ch; }
.site-footer .footer-head { font-family:var(--sans); font-size:.875rem; letter-spacing:0; text-transform:none; color:#f5f5f2; }
.site-footer .footer-base { margin-top:32px; }

/* One short moving introduction, followed immediately by the directory. */
.page-home .home-map-section { background:var(--silk); padding-block:56px; }
.page-home .home-map-heading h2 { font-size:clamp(1.5rem,2.4vw,1.875rem); font-weight:600; letter-spacing:-.035em; }
.page-home .home-map-intro p { color:var(--ink-2); }
.page-home .section-index { color:var(--muted); font:500 .875rem/1.5 var(--sans); text-transform:none; letter-spacing:0; margin-bottom:14px; }
.page-home .home-map-frame { border-radius:3px; border-color:#b9c0b7; }
.page-home .home-network-map { height:390px; }
.page-home .home-map-caption { font-family:var(--sans); font-size:.8125rem; }
.page-home .ride-index { border-color:var(--line); }
.page-home .ride-index a { font-size:.875rem; }
.page-home .ride-index-count { font-size:.8125rem; }

.home-showcase { margin-top:32px; }
.home-showcase-head { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:14px; }
.home-showcase-head h3 { margin:0; font-size:1rem; font-weight:650; }
.home-showcase-head p { margin:0; font-size:.8125rem; color:var(--muted); }
.home-showcase-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; margin:0; list-style:none; border-block:1px solid var(--line-strong); }
.home-showcase-list>li { padding:24px 20px; min-width:0; }
.home-showcase-list>li:first-child { padding-left:0; }
.home-showcase-list>li+li { border-left:1px solid var(--line); }
.home-shop-title { display:flex; align-items:center; gap:14px; }
.home-shop-title .plate { flex:none; width:48px; height:48px; }
.home-shop-title h4 { margin:0 0 3px; font-size:1rem; overflow-wrap:anywhere; }
.home-shop-title h4 a { color:var(--ink); text-decoration:none; }
.home-shop-title p { margin:0; font-size:.8125rem; color:var(--muted); }
.home-shop-services { margin:16px 0 10px; font-size:.9375rem; color:var(--ink-2); }
.home-shop-link { font-size:.875rem; }

/* Workshop photograph and actual product views, with a different rhythm. */
.page-home .works { min-height:0; display:grid; grid-template-columns:1.2fr 1fr; background:var(--mat); color:var(--ink); }
.page-home .works::before { display:none; }
.page-home .works-photo { position:relative; z-index:auto; min-height:460px; }
.page-home .works-photo img { position:absolute; object-position:40% 50%; }
.page-home .works-content { width:100%; max-width:600px; margin:0; display:block; padding:54px clamp(28px,5vw,80px); }
.page-home .works-copy { max-width:none; }
.page-home .works h2 { color:var(--ink); font-size:clamp(1.75rem,2.4vw,2.125rem); font-weight:580; line-height:1.08; letter-spacing:-.03em; margin-bottom:22px; }
.page-home .works-copy>p:not(.section-index):not(.workshop-credit) { color:var(--ink-2); font-size:1rem; }
.page-home .works-content .workshop-credit { color:var(--muted); font:400 .8125rem/1.5 var(--sans); }
.work-types { list-style:none; padding:0; margin:24px 0; border-top:1px solid var(--line-strong); }
.work-types li { padding:10px 0; border-bottom:1px solid var(--line); font-size:.9375rem; }
.work-types a { display:flex; justify-content:space-between; color:var(--ink); text-decoration:none; }
.work-types a:hover { color:var(--link); }
.home-service { display:grid; grid-template-columns:1fr 1fr; gap:64px; padding-block:64px; }
.home-service h2 { font-size:clamp(1.5rem,2.2vw,1.875rem); line-height:1.1; }
.home-service p { color:var(--ink-2); max-width:48ch; }
.home-service article+article { border-left:1px solid var(--line-strong); padding-left:64px; }
.home-service article:only-child { grid-column:1/-1; }
.home-service figure { margin:24px 0 0; }
.home-service img { width:100%; border:1px solid var(--line-strong); border-radius:3px; }
.home-service figcaption { font-size:.8125rem; color:var(--muted); padding-top:8px; }
.home-service .service-links { display:flex; flex-wrap:wrap; gap:12px 24px; align-items:center; }
.home-app-preview { display:grid; grid-template-columns:1fr 130px; align-items:center; gap:20px; padding:22px 0; margin-top:24px; border-top:1px solid var(--line); }
.home-app-preview img { max-height:220px; width:auto; border-radius:14px; }
.home-app-preview p { font-size:.9375rem; margin:0 0 12px; }
.home-journal { border-block:1px solid var(--line); }
.home-journal .section-head { max-width:none; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .article-card { border:0; border-radius:0; background:transparent; box-shadow:none; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .article-card-link { height:100%; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .article-card-art { border-radius:2px; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .article-card-body { padding:20px 0; border-top:0; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .article-card-body h3 { font-size:1.3rem; line-height:1.2; font-weight:600; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .article-card-body>p:not(.eyebrow) { font-size:1rem; line-height:1.6; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .article-card .eyebrow { font:500 .8125rem/1.5 var(--sans); letter-spacing:0; color:var(--muted); }
.page-home .trust-notes { padding-block:40px; background:var(--mat); }
.page-home .trust-notes h2 { font-size:1.2rem; font-weight:600; margin-bottom:24px; }
.page-home .trust-notes-grid>div { border:0; padding:0; }
.page-home .trust-notes-grid span { display:none; }
.page-home .trust-notes-grid h3 { margin:0 0 8px; }
.page-home .trust-notes-grid p { font-size:.9375rem; margin:0; }

/* Search first; advanced filters remain available with or without JavaScript. */
.page-directory .directory-head { background:var(--silk); color:var(--ink); padding-block:34px 26px; border-bottom:1px solid var(--line); }
.page-directory .directory-head h1 { color:var(--ink); font-size:clamp(1.5rem,2.4vw,1.875rem); font-weight:600; }
.page-directory .directory-head>.wrap>.small.muted,.page-directory .directory-head>.wrap>.small.muted a { color:var(--muted); }
.page-directory .directory-view-switch { border-color:var(--line-strong); border-radius:3px; }
.page-directory .directory-view-switch a { color:var(--ink-2); }
.page-directory .directory-view-switch a[aria-current='page'] { background:var(--ink); color:white; border-radius:2px; }
.page-directory .ride-filter { gap:5px; margin-block:20px; }
.page-directory .ride-filter a { border-color:var(--line); border-radius:3px; background:transparent; color:var(--ink-2); font-size:.875rem; }
.page-directory .ride-filter a[aria-current='true'] { color:var(--ink); background:var(--mat); border-color:var(--ink); }
.page-directory .filter-bar { padding:0; background:transparent; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto; gap:14px; }
.page-directory .filter-bar label { font-size:.875rem; margin-bottom:6px; }
.page-directory .filter-actions { display:flex; gap:8px; align-items:end; }
.page-directory .filter-extra { display:grid; grid-column:1/-1; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding-block:18px 4px; border-top:1px solid var(--line); }
.page-directory .filter-checks { display:flex; gap:20px; grid-column:1/-1; }
.js .page-directory .filter-more { display:inline-flex; }
.js .page-directory .filter-extra { display:none; }
.js .page-directory .filter-bar.is-open .filter-extra { display:grid; }
.page-directory .filter-extra { order:2; }
.page-directory .directory { padding-top:24px; }
.page-directory:not(.show-map) .shop-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; }
.page-directory:not(.show-map) .sponsored-block { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; border:0; padding:0; }
.page-directory .sponsored-note { grid-column:1/-1; border-bottom:1px solid var(--line-strong); padding-bottom:18px; }
.page-directory .shop-card { border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; padding:24px 0; box-shadow:none; height:100%; }
.page-directory .shop-card.is-sponsored { border-top:2px solid #d9693f; }
.page-directory .shop-card h3 { font-size:1.2rem; font-weight:600; }
.page-directory .shop-card-rides li { border-radius:0; padding:0; background:none; margin-right:7px; font-weight:500; }
.page-directory .shop-card-rides svg { color:var(--muted); }
.page-directory .sponsored-label { border:0; padding:0; font:500 .8125rem/1.5 var(--sans); }
.page-directory .shop-wayfinding { border:0; padding-top:14px; }
.page-directory .wayfinding-action { border-radius:3px; font-weight:550; }
.page-directory .wayfinding-note { max-width:54ch; }
.page-directory.show-map .shop-card { padding:20px 8px; }
.page-directory .shop-card.is-selected { outline:2px solid var(--gold); outline-offset:4px; background:var(--card); }
.page-directory .results-head { margin-bottom:16px; }

/* Product screens carry the apps page, not ornamental phone frames. */
.membership-page .eyebrow { font-family:var(--sans); letter-spacing:0; }

@media(max-width:1080px) {
  .js .masthead .primary-nav.is-open { border-color:#363e48; }
  .page-home .home-service { gap:36px; }.page-home .home-service article+article { padding-left:36px; }
}
@media(max-width:760px) {
  body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .section { padding-block:40px; }
  .page-home .home-map-section { padding-block:40px; }
  .page-home .home-network-map { height:320px; }
  .page-home .ride-index { grid-template-columns:repeat(3,1fr); }
  .page-home .ride-index a { font-size:.8125rem; }
  .home-showcase-head { display:block; }.home-showcase-head p { margin-top:6px; }
  .home-showcase-list { grid-template-columns:1fr; }
  .home-showcase-list>li { padding:20px 0; }.home-showcase-list>li+li { border-left:0; border-top:1px solid var(--line); }
  .page-home .works { grid-template-columns:1fr; }.page-home .works-photo { min-height:290px; }
  .page-home .works-content { padding:32px var(--gutter); max-width:none; }
  .home-service { grid-template-columns:1fr; gap:32px; padding-block:40px; }
  .page-home .home-service article+article { padding:32px 0 0; border-left:0; border-top:1px solid var(--line-strong); }
  .page-home .trust-notes-grid { grid-template-columns:1fr; gap:24px; }
  .page-directory .filter-bar { grid-template-columns:minmax(0,1fr) auto; }
  .page-directory .filter-bar .field-grow { grid-column:1/-1; }
  .page-directory .filter-bar .field-near { order:0; min-width:0; }
  .page-directory .filter-actions { flex-wrap:wrap; justify-content:end; max-width:145px; }
  .page-directory .filter-extra { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-directory:not(.show-map) .shop-list,.page-directory:not(.show-map) .sponsored-block { grid-template-columns:1fr; }
  .page-directory .shop-card { padding-block:22px; }
  .page-directory .directory-head { padding-block:26px 20px; }
}
@media(max-width:400px) {
  .page-directory .filter-bar { grid-template-columns:1fr; }
  .page-directory .filter-actions { max-width:none; justify-content:stretch; }
  .page-directory .filter-actions .btn { flex:1; }
  .page-directory .filter-extra { grid-template-columns:1fr; }
  .page-home .ride-index svg { width:20px; height:20px; }
}

body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) :is(h3,h4) { font-family:var(--sans); font-weight:600; letter-spacing:-.015em; }
body:is(.page-home,.page-directory,.membership-page,.apps-page,.page-articles) .section-head h2 { font-size:1.875rem; }
.page-home .home-map-summary { color:var(--muted); margin:12px 0 0; }
.page-home .home-stories { display:grid; grid-template-columns:repeat(3,1fr); gap:16px 32px; margin-top:24px; border-top:1px solid var(--line); padding-top:24px; }
.page-home .home-stories h3 { grid-column:1/-1; font-size:1rem; margin:0; }
.page-home .home-stories a { font-size:1rem; color:var(--ink); }
.page-home .home-stories a span { margin-left:8px; }
.page-articles .guide-list a { grid-template-columns:minmax(0,1fr); }
.page-articles .stories-index { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 32px; }
.page-articles .article-card-text { border-top:1px solid var(--line); }
.page-articles .article-card-text .article-card-body { padding-block:24px; }
@media(max-width:760px) { .page-articles .stories-index { grid-template-columns:minmax(0,1fr); } }
@media(max-width:760px) { .page-home .home-stories { grid-template-columns:1fr; } }

.page-directory .ride-filter svg { color:var(--muted); }
@media(max-width:1080px) {
  .js .page-directory:has(.filter-bar.is-open) .map-toggle { display:none; }
  .js .page-directory:not(.show-map) .results { padding-bottom:calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* Public pages lead with the rider's task; shop tools have their own entrance. */
.masthead .primary-nav .nav-account { flex-shrink:0; }
.masthead .primary-nav .nav-shop { border-left:1px solid #4c535a; padding-left:18px; margin-left:4px; color:#b9c1c9; }
.home-rider-section { background:#e8edf0; padding-block:72px; }
.home-rider-grid { display:grid; grid-template-columns:1.3fr .7fr; gap:80px; align-items:center; }
.home-rider-grid .eyebrow { color:#8c3417; font:600 .875rem var(--sans); letter-spacing:.03em; }
.home-rider-grid h2 { font-size:clamp(2.1rem,4.2vw,3.6rem); line-height:1.05; margin:18px 0 24px; }
.home-rider-lede { max-width:55ch; color:#42505b; font-size:1.125rem; line-height:1.65; }
.home-rider-benefits { list-style:none; margin:30px 0; padding:0; border-top:1px solid #b6c1c9; }
.home-rider-benefits li { padding:16px 0; border-bottom:1px solid #b6c1c9; display:grid; grid-template-columns:180px 1fr; gap:18px; }
.home-rider-benefits strong { font-weight:650; }
.home-rider-benefits span { color:#42505b; }
.home-rider-grid .service-links { display:flex; flex-wrap:wrap; gap:16px 24px; align-items:center; }
.home-rider-app-link { font-size:.9375rem; margin-top:22px; color:#42505b; }
.home-rider-screen { width:min(100%,310px); margin:auto; text-align:center; }
.home-rider-screen img { display:block; width:100%; height:auto; padding:6px; background:#141a20; border:1px solid #687781; border-radius:30px; }
.home-rider-screen figcaption { color:#52616c; font-size:.875rem; margin-top:16px; }
.home-shop-invitation { border-block:1px solid var(--line-strong); padding-block:40px; background:#e8e9e5; }
.home-shop-invitation .wrap { display:flex; align-items:center; justify-content:space-between; gap:36px; }
.home-shop-invitation .eyebrow { font:600 .875rem var(--sans); color:var(--muted); margin:0 0 12px; }
.home-shop-invitation h2 { font-size:1.75rem; margin:0 0 12px; }
.home-shop-invitation p { max-width:65ch; margin-bottom:0; color:var(--ink-2); }
.home-shop-invitation .btn { flex-shrink:0; }
.membership-riders .membership-intro { background:#e8edf0; }
.membership-riders .membership-rider-screen { width:300px; }
.membership-riders .membership-rider-screen img { width:300px; border-radius:28px; padding:6px; background:#141a20; }
.membership-riders .membership-intro-copy h1 { font-size:clamp(2.4rem,4.2vw,3.7rem); }
.support-task-links { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 40px; }
.support-task-links a { border:1px solid var(--line-strong); border-radius:4px; padding:12px 18px; font-weight:600; }
@media(max-width:960px) { .home-rider-grid { gap:36px; }.home-rider-benefits li { grid-template-columns:1fr; gap:6px; }.masthead .primary-nav .nav-shop { border-left:0; padding-left:0; margin-left:0; } }
@media(max-width:680px) { .home-rider-section { padding-block:44px; }.home-rider-grid { grid-template-columns:1fr; }.home-rider-screen { width:280px; }.home-shop-invitation .wrap { display:block; }.home-shop-invitation .btn { margin-top:22px; }.membership-riders .membership-rider-screen { width:300px; } }
