/* =============================================================================
   site-chrome.css
   Shared global NAV + FOOTER styles for liveepk.com. Single source of truth so
   every page stays consistent. Relies on the design tokens each page defines
   (--paper, --paper-2, --ink, --ink-2, --ink-3, --rule, --accent, --accent-glow)
   plus the font families (--display, --body, --sans, --mono).
   Markup is injected by assets/site-chrome.js into #site-nav and #site-footer.
   ============================================================================= */

/* mount points: reserve nav height so injection doesn't shift layout */
#site-nav { display: block; min-height: 68px; background: var(--ink); }
#site-footer { display: block; }

/* ----------------------------------------------------------------------------
   NAV  —  solid bar, light wordmark + links, terracotta button.
   Matches the homepage's nav look; sits at the top of every page.
   ---------------------------------------------------------------------------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 3rem;
  background: var(--ink);
  border-bottom: 1px solid rgba(246, 241, 232, 0.08);
}
.nav__wordmark {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--paper);
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
.nav__wordmark::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-1px);
}
.nav__wordmark:hover { color: var(--paper); border-bottom: none; }

.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a:not(.btn) {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(246, 241, 232, 0.7);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.nav__links a:not(.btn):hover {
  color: var(--paper);
  border-bottom-color: rgba(246, 241, 232, 0.5);
}

/* self-contained button so the nav doesn't depend on a page-level .btn */
.nav__links .btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent);
  color: var(--paper);
  border: none;
  border-bottom: none;
  cursor: pointer;
  transition: background 150ms ease, transform 80ms ease;
}
.nav__links .btn:hover { background: var(--accent-glow); color: var(--paper); border-bottom: none; }
.nav__links .btn:active { transform: translateY(1px); }

@media (max-width: 600px) {
  #site-nav { min-height: 56px; }
  .nav { padding: 1rem 1.25rem; }
  .nav__wordmark { font-size: 1.15rem; }
  .nav__links { gap: 1rem; }
  .nav__links a:not(.btn) { display: none; }
  .nav__links a:not(.btn).keep-mobile { display: inline; }
  .nav__links .btn { padding: 0.55rem 0.9rem; font-size: 0.72rem; letter-spacing: 0.06em; }
}

/* ----------------------------------------------------------------------------
   FOOTER  —  taken verbatim from the homepage. Fixed 1100px inner width so it
   reads identically on every page regardless of that page's content width.
   ---------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 4rem 3rem 3rem;
  background: var(--paper);
}
.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}
.site-footer__brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}
.site-footer__brand:hover { color: var(--ink); border-bottom: none; }
.site-footer__brand::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-1px);
}
.site-footer__tagline {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink-2);
  font-style: italic;
  max-width: 36ch;
  margin-bottom: 1.2rem;
}
.site-footer__about {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 36ch;
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul a {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.site-footer ul a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.site-footer__bottom {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer__bottom .legal { display: flex; gap: 1.5rem; }
.site-footer__bottom a {
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: none;
}
.site-footer__bottom a:hover { color: var(--accent); }

@media (max-width: 800px) {
  .site-footer { padding: 2.5rem 1.5rem 3rem; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__brand-block { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; gap: 0.8rem; padding: 1.5rem 0 0; align-items: flex-start; }
}
@media (max-width: 500px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}
