/* Pitch menu + "Built by 305 Brains" footer.
   Loaded after styles.css. Uses the Save a Seat for School tokens defined there. */

:root { --topbar-h: 64px; --footer-h: 34px; }

/* Make room for the footer */
.stage { height: calc(100vh - var(--topbar-h) - var(--footer-h)); }
.phone { --h: min(760px, calc(100vh - var(--topbar-h) - var(--footer-h) - 48px)); }
.loop-card svg { max-height: calc(100vh - var(--topbar-h) - var(--footer-h) - 320px); }
.toast { bottom: calc(var(--footer-h) + 16px); }
@media (max-height: 820px) {
  .loop-card svg { max-height: calc(100vh - var(--topbar-h) - var(--footer-h) - 250px); }
}

/* ---------- Pitch menu ---------- */
.pitch-menu { position: relative; }
.pitch-menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--deep-sea); color: var(--white); border: 0;
  padding: 8px 16px; border-radius: 999px; font-weight: 900; font-size: 14px;
}
.pitch-menu-btn:hover { background: #155A6D; }
.pitch-menu-btn .chev { transition: transform 0.2s; font-size: 11px; }
.pitch-menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.pitch-menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 300px; z-index: 40;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 40px rgba(5, 7, 8, 0.16); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.pitch-menu-panel.open { opacity: 1; visibility: visible; transform: none; }
.pitch-menu-panel .group-label { font-size: 12px; font-weight: 900; color: var(--muted); padding: 10px 12px 4px; }
.pitch-menu-panel hr { border: 0; border-top: 1.5px solid var(--foam-deep); margin: 6px 4px; }
.pitch-menu-panel [role="menuitem"] {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0; text-align: left; padding: 10px 12px; border-radius: 12px;
  font-weight: 800; font-size: 15px; color: var(--ink);
}
.pitch-menu-panel [role="menuitem"]:hover,
.pitch-menu-panel [role="menuitem"]:focus-visible { background: var(--foam); outline: none; }
.pitch-menu-panel [role="menuitem"][aria-current="true"] { color: var(--deep-sea); background: var(--foam); }
.pitch-menu-panel .key {
  font-size: 12px; font-weight: 900; color: var(--muted);
  border: 1.5px solid var(--line); border-bottom-width: 3px; border-radius: 7px; padding: 0 7px; min-width: 24px; text-align: center;
}
.pitch-menu-panel .shortcuts { padding: 4px 12px 10px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer {
  height: var(--footer-h); display: flex; align-items: center; justify-content: center; gap: 0.3em;
  background: var(--white); border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--muted);
  position: relative; z-index: 5;
}
.site-footer strong { color: var(--deep-sea); font-weight: 900; }
