/* ===========================================================
   layout.css — Shared layout: nav, footer
   =========================================================== */

/* === NAV =============================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 18px var(--section-pad-x);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245, 243, 239, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.25s ease;
}
.nav.is-scrolled { padding: 12px var(--section-pad-x); }

.nav-logo {
  display: flex; align-items: center; gap: 2px;
}
.nav-logo-img {
  height: 32px; width: auto;
}
/* Placeholder while real logo PNG is dropped in */
.nav-logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nav-logo-text .a1 { color: var(--orange); }
.nav-logo-text .strategez { color: var(--gray); }

.nav-links {
  display: flex; align-items: center; gap: 38px;
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
}
.nav-links a {
  color: var(--gray);
  position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--orange);
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--gray-deep); color: var(--paper);
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  border: 1px solid var(--gray-deep);
  transition: all 0.25s ease;
}
.nav-cta::before {
  content: ''; width: 7px; height: 7px; background: var(--orange);
  animation: nav-pulse 2.2s infinite;
}
.nav-cta:hover { background: var(--orange); border-color: var(--orange); }

@keyframes nav-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 1024px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
}

/* === FOOTER ============================================ */
.footer {
  background: var(--gray-deep);
  color: var(--paper);
  padding: 80px var(--section-pad-x) 40px;
}
.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.footer-brand-text .a1 { color: var(--orange); }
.footer-brand-text .strategez { color: var(--paper); }
.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  max-width: var(--container-max);
  margin: 30px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid .footer-col:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
