/* Trailside Training — static site served from the Aarkimedes Pages project
   for trailsidetraining.com (see functions/lib/trailside.ts). */
:root{--sage:#A3BFA5;--forest:#2f4a36;--ink:#333;--muted:#5b6560;--soft:#f3f5f8;--line:#e3e7ea;--accent:#c9772f}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ink);font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
img{max-width:100%;display:block}
a{color:var(--forest)}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
header{background:var(--sage)}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px}
.brand img{width:62px;height:auto;padding:4px 0}
nav{display:flex;gap:22px;flex-wrap:wrap}
nav a{color:#1f2a22;text-decoration:none;font-size:14px;letter-spacing:.08em;text-transform:uppercase;padding:6px 0;border-bottom:2px solid transparent}
nav a[aria-current=page],nav a:hover{border-color:#1f2a22}
h1,h2,h3{color:var(--ink);line-height:1.15;margin:0 0 .5em}
h1{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800}
h2{font-size:clamp(1.6rem,3vw,2.2rem)}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:var(--soft)}
.hero img{width:100%;height:100%;object-fit:cover;min-height:360px}
.hero .copy{padding:48px clamp(20px,5vw,64px)}
.btn{display:inline-block;background:var(--forest);color:#fff;text-decoration:none;padding:13px 24px;border-radius:8px;font-weight:600;margin-top:10px}
.btn:hover{background:#243a2a}
.btn.alt{background:#fff;color:var(--forest);border:2px solid var(--forest)}
section{padding:64px 0}
.soft{background:var(--soft)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;text-align:center}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px 22px}
.card .ico{font-size:34px;line-height:1;margin-bottom:10px}
.card h3{font-size:1.2rem}
.card p{color:var(--muted);margin:0 0 12px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.split img{border-radius:12px;width:100%;height:auto}
.notice{background:#fff;border-left:5px solid var(--sage);padding:18px 22px;border-radius:8px;border:1px solid var(--line);border-left:5px solid var(--sage)}
.instructor{display:grid;grid-template-columns:320px 1fr;gap:36px;align-items:start}
.instructor img{border-radius:12px;width:100%;height:auto}
.role{color:var(--muted);font-weight:600;margin-top:-.4em}
.topics{display:grid;gap:12px;max-width:560px}
.topics a{display:block;border:1px solid var(--line);border-radius:10px;padding:16px 18px;text-decoration:none;color:var(--ink);font-weight:600;background:#fff}
.topics a:hover{border-color:var(--forest)}
.topics small{display:block;color:var(--muted);font-weight:400}
.prose{max-width:780px}
.prose h2{margin-top:1.6em}
.prose h3{margin-top:1.3em;font-size:1.15rem}
footer{background:#1f2a22;color:#d9e2da;font-size:15px;padding:28px 0}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
footer a{color:#d9e2da;margin-left:18px}
@media (max-width:820px){
  .hero,.split,.instructor{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .hero img{min-height:240px;max-height:340px}
  section{padding:44px 0}
  nav{gap:14px}
  footer a{margin:0 18px 0 0}
}
