/* Unified Design Tokens & Base Theme */
:root {
  --font-main: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bg-dark: #120e0a;
  --bg-gradient: radial-gradient(circle at 50% 12%, rgba(217, 119, 6, 0.15) 0%, transparent 60%), linear-gradient(135deg, #1f130b 0%, #0d0805 100%);
  --glass-bg: rgba(255, 240, 220, 0.05);
  --glass-border: rgba(255, 240, 220, 0.12);
  --text-light: #fef3c7;
  --text-muted: #d4d4d8;
  --text: var(--text-light);
  --primary: #d97706;
  --primary-hover: #b45309;
  --accent: #f59e0b;
}

/* ─── Unified Site Header & Navigation ─── */
.site-header {
  border-bottom: 1px solid var(--glass-border);
  background: rgba(18, 14, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(to right, #d97706, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.9;
}

.nav-logo {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary);
}

@media (max-width: 640px) {
  .header-inner {
    padding: 1rem 1.25rem;
  }
  .site-nav {
    gap: 1rem;
  }
  .site-nav a {
    font-size: 0.88rem;
  }
}

/* ─── Unified Site Footer ─── */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(12, 9, 6, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 100%;
}

.site-footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-footer .footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  opacity: 0.85;
  margin-bottom: 0.3rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-footer .footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--primary);
}

.site-footer .footer-subtext {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-top: 0.2rem;
}
