/* AOR 4x4 — independent off-road education publication (mobile-first)
   Forest-and-trail design system. Theme: #3f5a36 */
:root {
  --forest: #3f5a36;
  --forest-dark: #2d4227;
  --forest-deep: #22331e;
  --rust: #b45f2e;
  --rust-dark: #93481f;
  --tan: #8a7a5c;
  --tan-deep: #6d5f46;
  --sand: #f4f1e7;
  --paper: #fbfaf4;
  --tan-tint: #efe9da;
  --ink: #2b2a24;
  --muted: #6b675a;
  --line: #ded6c2;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
h1, h2, h3, .brand-name, .footer-logo {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}
a { color: var(--forest-dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
::selection { background: var(--forest); color: var(--sand); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; flex-direction: column; gap: .75rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; width: fit-content; }
.brand-name { font-size: 1.45rem; color: var(--forest); letter-spacing: .02em; }
.pill-nav { display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.pill-nav a {
  display: inline-block; padding: .4rem .95rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--sand); color: var(--ink);
  font-size: .88rem; text-decoration: none; transition: background .15s ease, color .15s ease;
}
.pill-nav a:hover { background: var(--forest); border-color: var(--forest); color: var(--sand); }

main.container { padding-bottom: 3.5rem; }

.hero {
  text-align: center; padding: 3.25rem 0 2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(63, 90, 54, .08), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(63, 90, 54, .045) 21px 22px);
  border-bottom: 1px solid var(--line);
}
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--rust); margin-bottom: .75rem; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.5rem); color: var(--forest-deep); margin-bottom: 1rem; }
.dek { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 0 auto; }
.hero-actions { margin-top: 1.6rem; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .65rem 1.4rem; border-radius: 999px; border: 1px solid var(--forest);
  background: var(--forest); color: var(--sand); text-decoration: none; font-size: .95rem;
  font-family: inherit; cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--forest-dark); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--sand); }
.home-copy { max-width: 68ch; margin: 0 auto 1rem; }
.home-copy p { margin: .9rem 0; color: var(--ink); }
.home-copy h2 { font-size: 1.35rem; color: var(--forest-dark); margin-top: 1.5rem; }

.section-head { text-align: center; margin: 2.75rem 0 1.5rem; }
.section-head h2 { font-size: 1.65rem; color: var(--forest-deep); }
.flourish { margin-top: .6rem; }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(43, 42, 36, .05); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(43, 42, 36, .1); }
.card-link { display: block; padding: 1.5rem; text-decoration: none; color: inherit; height: 100%; }
.card-icon { width: 42px; height: 42px; color: var(--tan-deep); margin-bottom: .8rem; }
.card h2 { font-size: 1.18rem; margin-bottom: .45rem; color: var(--ink); }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: .9rem; }
.card-cta { color: var(--forest); font-weight: 600; font-size: .9rem; }

.breadcrumbs { margin: 1.25rem 0 .5rem; font-size: .85rem; color: var(--muted); }
.breadcrumbs a { color: var(--tan-deep); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.crumb-sep { margin: 0 .55rem; color: var(--line); }

.page-head { padding: 2.5rem 0 1.25rem; text-align: center; }
.page-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); color: var(--forest-deep); margin-bottom: .8rem; }
.page-head .dek { max-width: 58ch; }
.article-meta { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 1.5rem; }

.article-body { max-width: 68ch; margin: 0 auto; }
.article-body h2 { font-size: 1.5rem; color: var(--forest-dark); margin: 2rem 0 .6rem; }
.article-body h3 { font-size: 1.15rem; color: var(--tan-deep); margin: 1.4rem 0 .4rem; }
.article-body p { margin: .9rem 0; }
.article-body ul { margin: .9rem 0 .9rem 1.4rem; }
.article-body li { margin: .35rem 0; }

.callout { background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem; max-width: 68ch; margin: 2rem auto 0; }
.callout h2 { font-size: 1.3rem; color: var(--forest-dark); margin: 1.2rem 0 .5rem; }
.callout h2:first-child { margin-top: 0; }
.checks { list-style: none; }
.checks li { position: relative; padding-left: 1.8rem; margin: .6rem 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .18rem; width: 1.05rem; height: 1.05rem;
  border: 2px solid var(--tan); border-radius: 6px; background: var(--paper); }
.checklist { background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem; max-width: 68ch; margin: 2rem auto 0; }
.checklist h2 { font-size: 1.3rem; color: var(--forest-dark); margin: 1.4rem 0 .5rem; }
.checklist h2:first-child { margin-top: 0; }
.print-btn { margin-top: 1.4rem; }

.related { max-width: 68ch; margin: 2.5rem auto 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.related h2 { font-size: 1.2rem; color: var(--forest-dark); margin-bottom: .7rem; }
.related a { display: inline-block; margin: .35rem .5rem .35rem 0; padding: .4rem .95rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--paper); color: var(--tan-deep); text-decoration: none; font-size: .9rem; }
.related a:hover { border-color: var(--tan); color: var(--tan-deep); }

.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem; max-width: 68ch; margin: 2rem auto 0; text-align: center; }
.contact-card h2 { font-size: 1.3rem; color: var(--forest-dark); margin-bottom: .9rem; }
.contact-card p { margin: .7rem 0; color: var(--muted); }
.resource-note { max-width: 68ch; margin: 1.25rem auto 0; color: var(--muted); font-size: .95rem; }

.site-footer { background: var(--forest-deep); color: #efe7d2; margin-top: 2.5rem; }
.site-footer a { color: #efe7d2; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { font-size: 1.35rem; color: #d9c9a3; margin-bottom: .5rem; }
.footer-brand p { font-size: .92rem; color: #cfc5ad; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-content: flex-start; }
.footer-nav a { font-size: .88rem; text-decoration: none; opacity: .88; }
.footer-nav a:hover { text-decoration: underline; }
.footer-note { font-size: .85rem; color: #cfc5ad; border-top: 1px solid #44513d; padding-top: 1rem; }
.footer-contact { font-size: .9rem; }
.footer-contact p { margin: .35rem 0; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

@media (min-width: 720px) {
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1.2fr 1.2fr 1fr; }
}

@media print {
  .site-header, .site-footer, .breadcrumbs, .related, .print-btn { display: none; }
  body { background: #fff; color: #000; }
  .checklist, .callout { border: 1px solid #999; box-shadow: none; }
  a { color: #000; }
}

.byline{display:flex;flex-wrap:wrap;gap:.35rem 1rem;align-items:baseline;margin:.9rem 0 1.4rem;padding:.7rem 1rem;background:var(--tan-tint);border-left:4px solid var(--forest);border-radius:0 8px 8px 0;font-size:.92rem;color:var(--muted)}
.byline-name{font-weight:600;color:var(--ink)}
.byline-name a{color:var(--forest-dark);text-decoration:none}
.byline-name a:hover{text-decoration:underline}
.byline-dates{color:var(--muted)}
.author-box{margin:1.6rem 0 0;padding:1rem 1.2rem;background:var(--paper);border:1px solid var(--line);border-radius:10px;font-size:.95rem;color:var(--muted)}
.author-box-label{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--tan-deep);margin:0 0 .35rem}
.author-box-name{font-weight:600;color:var(--ink);margin:0 0 .4rem}
.author-box-bio{margin:0}
.author-box-bio a{color:var(--forest-dark)}
