:root{--forest:#16382c;--deep:#112b22;--ink:#192720;--muted:#526259;--cream:#f8f7f1;--white:#fffefa;--gold:#e6b64c;--line:#dfdfd3;--light:#edf3e8;--radius:12px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none;font-size:16px}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
button,input,select,textarea{font:inherit}
button,select{cursor:pointer}
a{color:inherit}
button:disabled{cursor:wait;opacity:.55}
:focus-visible{outline:3px solid #a46d10;outline-offset:3px}
.wrap{width:min(1280px,calc(100% - 92px));margin-inline:auto}
.top{background:var(--deep);color:#f9f8ee;border-bottom:1px solid #3d5146}
.top-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:flex;align-items:center;gap:15px;text-decoration:none;flex:none}
.brand img{width:83px;height:63px;object-fit:contain}
.brand-divider{height:38px;border-left:1px solid #50655a}
.brand-word{font-size:.77rem;font-weight:850;line-height:1.14;letter-spacing:.15em}
nav{display:flex;align-items:center;gap:5px}
nav a,nav button{display:inline-flex;align-items:center;min-height:42px;padding:0 15px;border:0;border-radius:7px;background:transparent;text-decoration:none;font-size:.875rem;font-weight:720;color:#d8e1d8;white-space:nowrap}
nav a:hover,nav button:hover,nav [aria-current=page]{background:#284436;color:#fff}
.primary,.secondary,.hero-link,.card-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:790;border-radius:7px;min-height:42px;padding:8px 13px;font-size:.875rem}
.primary{color:#18281e;background:var(--gold);border:1px solid var(--gold)}
.primary:hover,.hero-link:hover{background:#f2c963}
.secondary,.card-link{border:1px solid #cfd6c9;background:var(--white);color:var(--forest)}
.secondary:hover,.card-link:hover{background:#edf2e7}
.add{white-space:nowrap}
.hero{position:relative;display:grid;grid-template-columns:1.02fr 1fr;min-height:378px;margin-top:28px;background:var(--forest);border-radius:17px;overflow:hidden;isolation:isolate;color:#fffdf1}
.hero-copy{padding:36px 0 36px clamp(27px,4.7vw,69px);position:relative;z-index:1}
.hero-image{position:absolute;inset:0 0 0 38%;background:linear-gradient(90deg,var(--forest),rgba(22,56,44,.6) 17%,transparent 48%),linear-gradient(0deg,rgba(14,33,23,.45),transparent 33%),url('/woods.webp') center 53%/cover}
.hero-image-label{position:absolute;right:21px;bottom:17px;color:#fff8dd;font-size:.75rem;letter-spacing:.13em;font-weight:770}
.eyebrow{display:flex;align-items:center;gap:8px;letter-spacing:.15em;font-size:.76rem;font-weight:850}
.eyebrow span{width:18px;height:2px;background:currentColor}
.hero-kicker{color:#f5cf76}
h1,h2,h3,p{margin:0}
.hero h1{font-family:"Arial Black",Inter,system-ui,sans-serif;font-size:clamp(3.3rem,6.5vw,6.05rem);font-weight:950;letter-spacing:-.078em;line-height:.89;margin:13px 0 15px}
.hero em{color:var(--gold);font-style:normal}
.hero p{max-width:345px;line-height:1.53;color:#f2f4e9}
.hero-link{margin-top:20px;background:var(--gold);color:var(--ink);padding-inline:18px}
#events{scroll-margin-top:20px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-top:34px;margin-bottom:15px}
.section-kicker{color:#587147}
.section-head h2{font-size:clamp(1.8rem,3.2vw,2.6rem);line-height:1.12;margin-top:5px;letter-spacing:-.052em}
.search{display:flex;align-items:center;gap:8px;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:0 11px;min-height:44px}
.search span{font-size:1.65rem;line-height:1}
.search input{border:0;background:transparent;width:185px;min-width:0;color:var(--ink)}
#filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:12px;align-items:end;padding:14px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
label{font-weight:700;font-size:.875rem}
select,input:not([type=checkbox]),textarea{min-height:41px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fbfaf5;padding:8px 10px}
.search input{background:transparent;border:0;padding-inline:0}
select{appearance:none;padding-right:30px;background-image:linear-gradient(45deg,transparent 49%,#536457 50%),linear-gradient(135deg,#536457 50%,transparent 51%);background-size:5px 5px;background-position:calc(100% - 15px) 52%,calc(100% - 10px) 52%;background-repeat:no-repeat}
#filters select{width:100%;display:block;margin-top:5px;text-overflow:ellipsis}
.text-btn{background:none;color:var(--forest);border:0;font-weight:780;text-decoration:underline;text-underline-offset:3px;padding:8px;min-height:41px}
.list-head{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:58px;color:var(--muted);font-size:.875rem;font-weight:700}
.list-head select{min-height:34px;font-size:.875rem;margin-left:5px}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.card-photo{height:135px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:12px;background:linear-gradient(0deg,transparent,#182c2766),var(--photo,url('/road.webp')) center 54%/cover}
.card[data-discipline="Cyclocross"] .card-photo{--photo:url('/cross.webp')}
.card[data-discipline="Gravel"] .card-photo{--photo:url('/gravel.webp')}
.card[data-discipline="MTB"] .card-photo{--photo:url('/woods.webp')}
.card[data-type="Volunteer"] .card-photo,.card[data-type="Community"] .card-photo{background:#e7ecdb url('/original-mark.jpeg') center/auto 175% no-repeat;background-blend-mode:multiply}
.date-badge{display:grid;gap:1px;min-width:56px;padding:6px 8px;text-align:center;border-radius:7px;background:#fffefa;color:var(--forest);font-weight:880;font-size:1.28rem;line-height:1.08;box-shadow:0 1px 7px #121c1730}
.date-badge small{font-size:.68rem;letter-spacing:.12em;line-height:1.1}
.tag{background:#fffdf4;color:var(--forest);padding:4px 8px;border-radius:5px;font-size:.75rem;font-weight:810;align-self:flex-start;border:1px solid #dfe5d7}
.card-body{padding:15px;display:flex;flex-direction:column;flex:1;gap:9px}
.tags{display:flex;gap:6px;flex-wrap:wrap}
.welcome{background:#edf3e8;color:#28523b;border-color:#dce8d6}
.tag-race{background:#fff4db;border-color:#f0e2bc;color:#624914}
.card h3{font-size:1.18rem;line-height:1.18;letter-spacing:-.028em}
.meta{color:var(--muted);font-size:.875rem;line-height:1.35}
.description{line-height:1.45;font-size:.9rem;overflow-wrap:anywhere}
.card-actions{padding-top:4px;display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;align-items:center}
.card small.verified{color:#4b6254;font-weight:650;font-size:.76rem}
.card details,.response-info{font-size:.875rem;color:var(--muted);overflow-wrap:anywhere}
.card summary{cursor:pointer;font-weight:720}
.card details p{white-space:pre-wrap;margin-top:5px}
.sources{margin-top:33px;padding:19px 21px;border:1px solid var(--line);border-radius:var(--radius);display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eef0e5}
.sources h2{font-size:1.25rem;margin-top:4px}
.sources ul,footer div{display:flex;gap:18px;flex-wrap:wrap}
.sources ul{list-style:none;margin:0;padding:0}
.sources a,footer a{font-weight:720;text-underline-offset:3px}
footer{padding:24px 0 30px;display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:.875rem}
.empty{grid-column:1/-1;background:var(--white);border:1px dashed #bcc7b7;border-radius:var(--radius);padding:36px 20px;text-align:center}
#notice:not(:empty){padding:10px 12px;margin-bottom:10px;background:var(--light);border:1px solid var(--line);border-radius:8px}
dialog{width:min(660px,calc(100% - 28px));max-height:92dvh;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:19px 23px;box-shadow:0 18px 70px #0b241f55}
dialog::backdrop{background:#10231bc0}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}
.icon-button{font-size:1.7rem;background:#f1f1e8;border:1px solid var(--line);border-radius:7px;min-width:37px}
.editor{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.editor label:not(.check){display:grid;gap:4px}
.editor .full,.share-box .full{grid-column:1/-1}
.editor textarea,.share-box textarea{width:100%;min-height:70px;resize:vertical}
.editor .check{display:flex;align-items:center;gap:7px}
.form-tip{color:var(--muted);font-size:.875rem}
.form-error{color:#a02424;font-size:.875rem}
.share-box{display:grid;gap:10px}
.share-box label{display:grid;gap:5px}
.share-box textarea{min-height:200px}
@media(max-width:980px){.wrap{width:calc(100% - 42px)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}#filters{grid-template-columns:repeat(3,minmax(0,1fr))}.reset{justify-self:start}.hero-image{left:35%}}
@media(max-width:640px){.wrap{width:calc(100% - 28px)}.top-inner{flex-wrap:wrap;gap:5px 12px;padding:7px 0}.brand img{width:63px;height:47px}.brand-divider{height:31px}nav{order:3;width:100%;justify-content:flex-start;overflow:auto}nav a,nav button{padding-inline:9px;min-height:36px}.hero{margin-top:15px;min-height:345px;grid-template-columns:1fr}.hero-copy{padding:31px 16px}.hero-image{left:20%;opacity:.58;background-position:center,center,64% 55%}.hero p{max-width:260px}.hero-image-label{display:none}.section-head{align-items:stretch;flex-direction:column;gap:10px;margin-top:26px}.search input{width:100%}#filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cards{grid-template-columns:minmax(0,1fr)}.list-head{flex-wrap:wrap;padding-block:7px}.sources,footer{display:grid}.editor{grid-template-columns:minmax(0,1fr)}}

.shops-intro {
  margin-block: 28px 20px;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 17px;
  background: var(--forest);
  color: var(--white);
}
.shops-intro h1 {
  margin-bottom: 13px;
  color: var(--gold);
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  letter-spacing: -.05em;
  line-height: 1;
}
.shops-intro p {
  max-width: 63ch;
  line-height: 1.55;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(16px, 2.4vw, 25px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.shop-card .eyebrow { color: var(--forest); }
.shop-card h2 { font-size: 1.4rem; }
.shop-card p { line-height: 1.55; }
.shop-card .card-link { margin-top: auto; }
@media (max-width: 640px) {
  .shops-intro { margin-top: 15px; }
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
}

.about {max-width: 52rem; margin-block: 1.5rem 3rem;}
.about-photo {display: block; width: 100%; aspect-ratio: 2.55; object-fit: cover; border-radius: var(--radius);}
.about h1 {font-size: clamp(2.4rem, 6vw, 4rem); color: var(--forest); margin-top: 1.25rem; line-height: 1.08;}
.about h2 {font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2;}
.about p {margin-top: .85rem; font-size: 1.08rem; line-height: 1.6;}
.about section {margin-top: 2rem;}
.about .founder {background: var(--forest); color: var(--white); padding: clamp(1.25rem, 4vw, 2.4rem); border-radius: var(--radius);}
.founder strong {color: var(--gold);}
.about-links {display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem;}
@media (max-width: 860px) {.top-inner {flex-wrap: wrap;} nav {flex-wrap: wrap;}}
