/* ============================================================
   LIAM MGMT — SHARED SITE STYLES (nav + footer)
   ============================================================
   Loaded by every page. Page-specific styles stay in their
   respective <style> blocks.
   ============================================================ */

/* ---------- TOP BAR / NAVIGATION ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line, #e6e6e6);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 56px;
}

.topbar .logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: inherit;
  text-decoration: none;
}

.topbar .logo img {
  height: 32px;
  width: auto;
  display: block;
}

.topbar .logo .wordmark {
  font-weight: 600;
}

.topbar .logo .wordmark em {
  font-style: normal;
  font-weight: 300;
  opacity: 0.55;
}

.topbar nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar nav a {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.topbar nav a:hover {
  opacity: 0.5;
}

/* ---------- MOBILE MENU TOGGLE ---------- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink, #0a0a0a);
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--bg, #fff);
  border-top: 1px solid var(--line, #e6e6e6);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu li {
  border-bottom: 1px solid var(--line, #e6e6e6);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink, #0a0a0a);
  text-decoration: none;
}

@media (max-width: 800px) {
  .topbar nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* ---------- FOOTER ---------- */
#site-footer footer {
  background: var(--ink, #0a0a0a);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#site-footer .footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#site-footer .footer-row a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

#site-footer .footer-row a:hover {
  color: white;
}

#site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

#site-footer .footer-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: invert(1);
}

#site-footer .footer-name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

#site-footer .socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

#site-footer .footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: right;
  align-items: flex-end;
}

#site-footer .footer-legal {
  padding-top: 1.5rem;
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0;
  text-transform: none;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#site-footer .footer-legal p {
  margin: 0 0 0.6rem;
}

#site-footer .footer-legal p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  #site-footer .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }
  #site-footer .footer-brand {
    justify-content: center;
  }
  #site-footer .footer-meta {
    align-items: center;
    text-align: center;
  }
}
