/* The menu on the simpler pages (about, parents, coach): every page reaches
   the others and Home. Uses each page's own colour tokens, so it follows
   light and dark mode with the page. No script: <details> opens and closes. */
.site-menu {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.site-menu-home {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}
.site-menu details { position: relative; }
.site-menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  display: grid;
  place-items: center;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu-bars,
.site-menu-bars::before,
.site-menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.site-menu-bars { position: relative; }
.site-menu-bars::before,
.site-menu-bars::after { content: ""; position: absolute; left: 0; }
.site-menu-bars::before { top: -6px; }
.site-menu-bars::after { top: 6px; }
.site-menu details[open] .site-menu-bars { background: transparent; }
.site-menu details[open] .site-menu-bars::before { top: 0; transform: rotate(45deg); }
.site-menu details[open] .site-menu-bars::after { top: 0; transform: rotate(-45deg); }
.site-menu-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.site-menu nav {
  position: absolute;
  right: 0;
  top: 52px;
  min-width: 220px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 23, 31, 0.14);
  display: grid;
  gap: 2px;
}
.site-menu nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.site-menu nav a:hover { background: var(--paper); }
.site-menu nav a[aria-current="page"] { color: var(--accent); }
.site-menu nav a.site-menu-play {
  margin-top: 6px;
  text-align: center;
  background: var(--accent);
  color: var(--on-accent);
}
