/* Global layout: nav, sections, footer */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 28px);
  padding: 16px clamp(16px, 4vw, 48px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  color: #fff;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}
.navbar__brand:hover { color: #fff; }

.navbar__diamond {
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: rotate(45deg);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  margin-left: auto;
  flex-wrap: wrap;
}
.navbar__links a { color: #fff; opacity: 0.9; font-size: 14px; }
.navbar__links a:hover { opacity: 1; color: #fff; }
.navbar__links a.is-active { opacity: 1; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.navbar__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font: inherit; font-size: 13px;
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.section {
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 72px);
}
.section--alt { background: var(--surface-alt); }
.section__inner { max-width: 1360px; margin: 0 auto; }
.section__inner--narrow { max-width: 1200px; }

.hero { margin-bottom: clamp(24px, 4vw, 40px); }
.hero h1 { margin: 8px 0 12px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px clamp(16px, 4vw, 48px);
  background: var(--nav-bg);
  color: rgba(255, 255, 255, 0.85);
}
.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #fff;
}
.site-footer__sources { font-size: 13px; }
