/* Shared header + footer styling for every page. Loaded after each page's own styles. */

/* Header behaviour is the homepage's everywhere: fixed and transparent over the hero,
   dark and blurred once the page scrolls (next-case.js toggles .scrolled on case pages). */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.nav-bar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FAFBFC;
  text-decoration: none;
}
.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FAFBFC;
  text-decoration: none;
}
.nav-links a:hover { color: #c9a876; }
@media (max-width: 720px) {
  .nav-links a { font-size: 16px; letter-spacing: 1.5px; }
}

footer.site-footer {
  display: block;
  margin: 0;
  padding: 0 var(--section-x, 80px) 36px;
  background: transparent;
  border-top: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--footer-muted, rgba(250, 251, 252, 0.62));
}
.site-footer-inner {
  max-width: var(--content-max, none);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--footer-line, rgba(255, 255, 255, 0.08));
}
.site-footer-copy {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--footer-strong, #FAFBFC);
}
.site-footer-note {
  margin: 6px 0 0;
  max-width: 560px;
  font-size: 12px;
  line-height: 1.55;
}
.site-footer-top {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer-top:hover { color: var(--footer-strong, #FAFBFC); }
.site-footer-top:focus-visible { outline: 2px solid var(--footer-strong, #FAFBFC); outline-offset: 3px; }
.site-footer-top svg {
  width: 14px;
  height: 14px;
  transform: rotate(-90deg);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 720px) {
  footer.site-footer { padding: 0 20px 28px; }
  .site-footer-inner { padding-top: 28px; }
  .site-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
