/* Low Gear Lab — same teal and parchment as the in-game look and the QR posters. */
:root {
  --teal: #1f4e5f;
  --teal-deep: #163a47;
  --pine: #2e7d55;
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #23272a;
  --muted: #5d6468;
  --line: #e2d9c8;
  --accent: #e0a23b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 78, 95, .06), 0 6px 20px rgba(31, 78, 95, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12201f;
    --card: #182a2b;
    --ink: #ecebe6;
    --muted: #a5b0ae;
    --line: #2a3e3f;
    --teal: #7fc4c9;
    --pine: #6cc396;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); }
h1, h2, h3, .h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); font-size: .92rem; }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); text-decoration: none; font: 700 1.25rem Fraunces, Georgia, serif; white-space: nowrap; }
.brand .logo { width: 30px; height: 30px; }
.brand.small { font-size: 1.05rem; }
.brand.small .logo { width: 24px; height: 24px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--teal); }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer-row p { margin: 8px 0 0; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero.small { padding: 48px 0 8px; }
.hero-row { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--pine); }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.hero-art { color: var(--teal); opacity: .9; display: flex; justify-content: center; }
.hero-art .logo { width: min(320px, 100%); height: auto; animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .logo { animation: none; } html { scroll-behavior: auto; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--teal); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: var(--teal-deep); border-color: var(--teal-deep); }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: color-mix(in srgb, var(--teal) 10%, transparent); }
.btn.big { padding: 13px 26px; font-size: 1.05rem; }
@media (prefers-color-scheme: dark) { .btn { color: #0f1d1c; } .btn:hover { background: #a3d8dc; border-color: #a3d8dc; } }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: color-mix(in srgb, var(--teal) 6%, var(--paper)); border-block: 1px solid var(--line); }

/* Map, filters and cards */
.map { height: 380px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 28px; box-shadow: var(--shadow); z-index: 0; }
.map-pin { font-size: 22px; line-height: 34px; text-align: center; width: 34px; height: 34px; background: var(--card); border: 2px solid var(--teal); border-radius: 50%; box-shadow: var(--shadow); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filters input, .filters select { font: inherit; font-size: .95rem; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.filters input { flex: 1 1 260px; }
.filters select { flex: 0 1 200px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin: 14px 0 2px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--teal); }
.card .town { color: var(--muted); margin: 0 0 12px; }
.card .blurb { font-size: .95rem; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pill { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--pine) 14%, transparent); color: var(--pine); }
.count { font-size: .85rem; color: var(--muted); }
.card-actions { display: flex; gap: 10px; margin-top: 8px; }
.empty, .empty-state { text-align: center; color: var(--muted); padding: 32px 0; }
.empty-state .big { font: 600 1.4rem Fraunces, Georgia, serif; color: var(--ink); }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #2a1d05; font-weight: 700; margin-bottom: 12px; }

/* Hunt page */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }
.tips { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tips ul { padding-left: 1.1em; margin: 0; }
.tips li { margin-bottom: 8px; }

/* Contact */
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 28px; }
.contact-card p { margin: 0; }
.contact-email { display: inline-block; margin: 4px 0 8px; font: 700 clamp(1.4rem, 4vw, 2rem) Fraunces, Georgia, serif; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; }
.topics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.topic p { flex: 1; font-size: .95rem; }
.topic-icon { font-size: 1.8rem; margin-bottom: 8px; }

/* Phones */
@media (max-width: 820px) {
  .hero { padding: 44px 0 32px; }
  .hero-row, .detail, .steps, .topics { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .nav { gap: 14px; }
  .nav a { font-size: .88rem; }
  .map { height: 300px; }
  .filters select { flex: 1 1 140px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand span { font-size: 1.05rem; }
  .nav a[href$="#about"], .nav a[href$="#how"] { display: none; }
}
