/* LathomHoops hub — dark apex shell */
:root {
  --bg: #070b10;
  --panel: #10161e;
  --line: #243040;
  --text: #eef1f6;
  --muted: #9aa6b8;
  --dim: #6a7588;
  --cyan: #5ee7ff;
  --gold: #d4a84b;
  --orange: #f0a060;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(ellipse 90% 50% at 50% -8%, #1a3020 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
  padding-bottom: calc(1.25rem + var(--safe-b));
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.bar {
  display: flex; flex-direction: column; gap: .35rem;
  padding: calc(.45rem + var(--safe-t)) 1rem .5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 20, 0.94);
  font-size: .85rem;
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bar-top {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.bar-top strong { color: var(--gold); font-weight: 700; }
.bar a.home-link { font-weight: 600; color: var(--cyan); white-space: nowrap; }
nav.topnav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem;
  padding-top: .35rem; border-top: 1px solid rgba(36, 48, 64, 0.65);
}
nav.topnav a {
  font-weight: 600; font-size: .8rem; color: var(--muted);
  padding: .3rem .5rem; border-radius: 8px;
}
nav.topnav a:hover, nav.topnav a.active { color: var(--cyan); text-decoration: none; background: rgba(94, 231, 255, .08); }

.wrap { width: min(720px, 100%); margin: 0 auto; padding: 1.25rem 1.1rem 2rem; }
.kicker {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; margin-bottom: .4rem;
}
h1 {
  font-size: clamp(1.55rem, 5vw, 2rem); font-weight: 750;
  letter-spacing: -.02em; line-height: 1.15; margin-bottom: .35rem;
}
.lead { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.1rem; max-width: 38em; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem .55rem; margin-bottom: 1.25rem; }
.pill {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); background: var(--panel);
  border-radius: 999px; padding: .3rem .7rem;
}
.pill em { color: var(--gold); font-style: normal; }

h2 {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); font-weight: 700; margin: 1.45rem 0 .65rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
}
@media (min-width: 520px) {
  .grid.years { grid-template-columns: 1fr 1fr; }
}

.card {
  display: block;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: .9rem 1rem;
  color: var(--text); touch-action: manipulation;
}
.card:hover {
  border-color: #3a5060; text-decoration: none; filter: brightness(1.06);
}
.card strong { display: block; color: var(--cyan); margin-bottom: .2rem; font-size: 1.02rem; }
.card span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.card .num { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }

.note {
  margin-top: 1.5rem; padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(16, 22, 30, .7); color: var(--dim); font-size: .9rem;
}
.note a { font-weight: 600; }

.foot {
  margin-top: 1.75rem; text-align: center; color: var(--dim); font-size: .85rem;
}
