/* wvriders.com — system fonts only, light/dark */
:root {
  --bg: #fbfaf6;
  --bg-soft: #f2efe6;
  --bg-tint: #e7ecdf;
  --ink: #1c2418;
  --text: #34402f;
  --muted: #646e5d;
  --line: #e0ddd1;
  --brand: #3d5f2f;
  --brand-hover: #2f4a24;
  --brand-ink: #34552a;
  --rust: #b4532a;
  --rust-ink: #9a4320;
  --btn-fg: #ffffff;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(28, 36, 24, .06), 0 14px 34px -14px rgba(28, 36, 24, .22);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12160f;
    --bg-soft: #171c13;
    --bg-tint: #1d2618;
    --ink: #eef1e8;
    --text: #cdd4c3;
    --muted: #9aa48f;
    --line: #2a3324;
    --brand: #6f9a57;
    --brand-hover: #84b06a;
    --brand-ink: #9ac57f;
    --rust: #e07b4b;
    --rust-ink: #f09a6e;
    --btn-fg: #12160f;
    --card: #1a2015;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 34px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-top: 1.4em; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .25em 0; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.18rem; color: var(--ink); }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: 700; color: var(--rust-ink); margin: 0 0 .5em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 30; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 20px; }
.nav-links { display: flex; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current] { color: var(--brand-ink); }
.nav a.btn, .nav a.btn:hover { color: var(--btn-fg); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; color: var(--ink); font: inherit; font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 999px; font-weight: 700; line-height: 1.1; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--rust); color: var(--btn-fg); }
.btn-primary:hover { background: var(--rust-ink); color: var(--btn-fg); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--bg-tint), var(--bg)); padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero svg.ridges { position: absolute; inset: auto 0 0 0; width: 100%; height: 120px; color: var(--brand); opacity: .14; }
.hero .lead { max-width: 680px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.stats li { margin: 0; }
.stats strong { display: block; font-size: 1.5rem; color: var(--ink); }

/* sections */
.section { padding: 44px 0; }
.section-head { max-width: 760px; margin-bottom: 22px; }
.section-head h2 { margin-top: 0; }
.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); }

/* cards */
.cards { display: grid; gap: 16px; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards.three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.link-card { display: block; color: var(--text); text-decoration: none; }
.link-card:hover { border-color: var(--brand); color: var(--text); }
.link-card h3 { color: var(--ink); }
.link-card p:last-child { margin: 0; }
.house .btn { margin-top: 6px; }
.note { margin: 26px 0; box-shadow: none; background: var(--bg-tint); }
.stay-band { background: var(--bg-soft); border-top: 1px solid var(--line); }

/* facts, chips, tables */
dl.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 22px 0; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
dl.facts div { margin: 0; }
dl.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
dl.facts dd { margin: 2px 0 0; color: var(--ink); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .92rem; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.4em; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); background: var(--bg-soft); }
.callout { border-left: 4px solid var(--rust); background: var(--card); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; }

/* faq + sources */
.faq h3 { margin: 24px 0 6px; }
.faq p { margin: 0 0 16px; }
.sources { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; }
.sources ul { padding-left: 24px; font-size: .9rem; overflow-wrap: anywhere; }
.williamson-plan { margin: 24px 0; }
.williamson-plan h2 { margin-top: 0; }
.williamson-plan ul { columns: 2; margin-bottom: 0; padding-left: 22px; }
.williamson-plan li { break-inside: avoid; margin-bottom: 8px; }

/* footer */
.site-footer { background: #1c2418; color: #c9d1bf; padding: 44px 0 26px; margin-top: 0; }
.site-footer a { color: #e6ecdc; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-col h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .09em; color: #fff; margin: 0 0 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.site-footer .muted { color: #9ea893; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #333d2c; margin-top: 30px; padding-top: 18px; font-size: .88rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .js .nav-toggle { display: block; }
  .header-inner { height: auto; min-height: 66px; flex-wrap: wrap; }
  .js .header-inner { flex-wrap: nowrap; }
  .nav { flex-wrap: wrap; }
  .js .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 20px 20px; }
  .js .nav.open { display: flex; }
  .js .nav-links { flex-direction: column; gap: 12px; }
  .nav-links { flex-wrap: wrap; gap: 14px; }
  .hero { padding: 40px 0 30px; }
  .section { padding: 32px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .williamson-plan ul { columns: 1; }
}
