/* Shared logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.logo-logo {
  height: 60px;
  display: block;
  object-fit: contain;
  margin-top: 2px;
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-footer {
  height: 68px;
  display: block;
  object-fit: contain;
  margin-top: 2px;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-icon .crescent-dark { fill: var(--text); }
.logo-icon .crescent-accent { fill: var(--accent); }
.on-dark .logo-icon .crescent-dark { fill: var(--on-dark); }

.logo-wordmark {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.on-dark .logo-wordmark { color: var(--on-dark); }
.logo-wordmark .logo-draft { color: var(--accent); }

/* Shared navbar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(8, 16, 31, 0.62);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border-bottom: 1px solid rgba(245, 245, 245, 0.1);
  box-shadow: inset 0 1px 0 rgba(245, 245, 245, 0.04);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.scrolled {
  background: rgba(245, 245, 245, 0.88);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.site-nav.scrolled .logo-logo { filter: none; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-dark);
  opacity: 0.82;
  transition: color 0.25s ease, opacity 0.15s ease;
}

.site-nav.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { opacity: 1; }

.nav-cta {
  margin-left: 1rem;
  min-height: 38px;
  padding: 0.58rem 1rem 0.58rem 1.12rem;
  font-size: 0.7rem;
  letter-spacing: 0.075em;
  box-shadow: 0 7px 16px rgba(242, 194, 58, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.nav-cta::after { font-size: 0.78rem; }

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(242, 194, 58, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: background 0.25s ease;
}

.site-nav.scrolled .hamburger span { background: var(--text); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open { display: flex; height: 100%; }

.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* Shared footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.85rem;
  line-height: 1.5;
  max-width: 220px;
}

.footer-email {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1rem;
  display: block;
  transition: color 0.15s;
}

.footer-email:hover { color: var(--text); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(28, 31, 38, 0.055);
  border: 1px solid var(--border);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer-social-link:hover {
  color: var(--navy);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--faint);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li,
.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.footer-links a { transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--faint);
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--faint);
  font-weight: 500;
  transition: color 0.15s;
}

.footer-legal a:hover { color: var(--text); }

/* .mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
  padding: 0.85rem 1.25rem;
  background-color: red;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--navy-line);
}

.mobile-sticky-cta .btn {
  width: 100%;
  justify-content: center;
} */

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-form-status {
  min-height: 1.5rem;
  margin-top: 0.85rem;
  color: var(--on-dark-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: right;
}

.contact-form-status.is-success { color: #9ed6ae; }
.contact-form-status.is-error { color: #ffb4ab; }

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-mobile-btn { display: none; }
  .nav-links,
  .nav-cta { display: none; }

  .hamburger { display: flex; }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
