/* hub.css — forsiden og de tre inngangene (/oo-lop/, /ratass/, /kart/). Fargene er o-kartets: hvit skog, grønn
   vegetasjon, oransje Råtass, lilla løypetrykk. */
:root {
  --paper: #ffffff; --ground: #f4f5f1; --ink: #1d2320; --muted: #5d665f; --line: #dfe3dc;
  --green: #2f8f46; --orange: #ef7d1a; --purple: #a3238f; --blue: #1f7fc4;
  --c: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.5 Lexend, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 28px 16px 48px; }
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: .95rem; }
.top a { text-decoration: none; color: var(--muted); }
.top a:hover { color: var(--ink); }
.top .who { margin-left: auto; color: var(--muted); }
h1 { font-family: "Barlow Condensed", Lexend, sans-serif; font-weight: 700; font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1; margin: 0 0 8px; }
h1 .dot { color: var(--c); }
.lede { color: var(--muted); margin: 0 0 30px; max-width: 60ch; }
h2 { font-family: "Barlow Condensed", Lexend, sans-serif; font-size: 1.5rem; margin: 36px 0 12px; }

/* de tre inngangene på forsiden */
.doors { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.door { --c: var(--ink); position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 24px 24px 22px; background: var(--paper);
  border: 2px solid var(--line); border-radius: 14px; text-decoration: none; overflow: hidden; }
.door:hover, .door:focus-visible { border-color: var(--c); outline: none; }
.door:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent); }
.door svg { width: 56px; height: 56px; }
.door .t { font-family: "Barlow Condensed", Lexend, sans-serif; font-weight: 700; font-size: 2rem; line-height: 1.1; margin-top: 14px; color: var(--c); }
.door .d { color: var(--muted); margin-top: 6px; }
.door .go { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--c); }
.door.game { --c: var(--green); } .door.club { --c: var(--orange); } .door.map { --c: var(--purple); }

/* menyene inne i hver inngang */
.menu { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.item { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; align-items: start; padding: 16px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.item:hover, .item:focus-visible { border-color: var(--c); outline: none; }
.item .ic { grid-row: span 2; font-size: 28px; line-height: 44px; text-align: center; }
.item .t { font-weight: 600; }
.item .d { color: var(--muted); font-size: .9rem; }
.item.big { grid-column: 1 / -1; background: var(--c); color: #fff; border-color: var(--c); }
.item.big .d { color: rgba(255,255,255,.85); }
.item.big .t { font-size: 1.2rem; }
.note { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* kartlista i /kart/ */
.maps { display: grid; gap: 12px; }
.mapr { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mapr .n { font-weight: 600; }
.mapr .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.btn { display: inline-block; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font: inherit; font-size: .9rem; cursor: pointer; }
.btn:hover { border-color: var(--c); }
.btn.primary { background: var(--c); border-color: var(--c); color: #fff; }
form.pin { display: flex; gap: 8px; margin-top: 10px; }
form.pin input { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; width: 9em; }
.active-event { margin-bottom: 18px; }
footer { margin-top: 44px; color: var(--muted); font-size: .85rem; }
@media (prefers-reduced-motion: no-preference) { .door, .item { transition: border-color .12s; } }
