/* ═══════════════════════════════════════════════════════════════════
   frame.css — the shared FRAME for every page (hub pages and tech pages)
   Only three things live here: site nav, back-link, page footer.
   Everything else on a hub page is free; tech pages use style.css.

   Same HTML everywhere. A hub page with its own palette sets these
   variables in its own <style> block; without them the defaults below
   match style.css (Phoenix orange on black).

   Load order on a hub page:  <link rel="stylesheet" href="…/assets/frame.css">
   then its own <style>. On a tech page it is redundant but harmless.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --frame-accent:   #C8721A;   /* current pill, hover */
  --frame-accent-ink: #ffffff; /* text on the current pill */
  --frame-surface:  #1C1C1C;   /* pill background */
  --frame-border:   #2E2E2E;
  --frame-ink:      #8A8078;   /* pill text, back-link, footer text */
  --frame-ink-hover:#E8924A;
  --frame-max:      1100px;
  --frame-font:     'DM Sans', system-ui, sans-serif;
}

.subpage-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: var(--frame-max);
  margin: 0 0 24px;
  font-family: var(--frame-font);
}
.subpage-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 500;
  background: var(--frame-surface);
  border: 1px solid var(--frame-border);
  color: var(--frame-ink);
  text-decoration: none; transition: all 0.15s;
}
.subpage-nav a:hover { border-color: var(--frame-accent); color: var(--frame-ink-hover); }
.subpage-nav a.current {
  background: var(--frame-accent); border-color: var(--frame-accent);
  color: var(--frame-accent-ink);
}

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--frame-font);
  font-size: 0.82rem; color: var(--frame-ink);
  text-decoration: none; margin-bottom: 20px;
}
.back-link:hover { color: var(--frame-ink-hover); }

.frame-footer {
  max-width: var(--frame-max);
  margin: 56px auto 0; padding-top: 20px;
  border-top: 1px solid var(--frame-border);
  font-family: var(--frame-font);
  font-size: 0.82rem; color: var(--frame-ink);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.frame-footer a { color: var(--frame-accent); text-decoration: none; font-weight: 500; }
.frame-footer a:hover { text-decoration: underline; }
