/* ═══════════════════════════════════════════════════════
   AXON — SHARED STYLES
   Design tokens · Reset · Body · Nav · Footer ·
   Utilities · Scroll-to-top · Hamburger · Accessibility
═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --void: #07070d;
  --stone: #12121a;
  --deep: #1c1c28;
  --slate: #252535;
  --copper: #bf7a35;
  --gold: #d4a843;
  --rust: #a03820;
  --parchment: #ebd9b8;
  --cream: #f7f0e0;
  --sand: #c8b08a;
  --mist: #9696af;
  --white: #fafaf5;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", sans-serif;
  --nav-h: 68px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* ── BODY ── */
body {
  font-family: var(--font-sans);
  background: var(--void);
  color: var(--parchment);
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 200;
  opacity: 0.2;
}

/* ── ACCESSIBILITY ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--copper);
  color: var(--void);
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}
*:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(7, 7, 13, 0.97);
  border-bottom: 1px solid rgba(191, 122, 53, 0.15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

nav.transparent {
  background: transparent;
  border-bottom-color: transparent;
}
nav.scrolled,
nav.always-dark {
  background: rgba(7, 7, 13, 0.97);
  border-bottom-color: rgba(191, 122, 53, 0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
}
.nav-brand-text .name {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  display: block;
}
.nav-brand-text .sub {
  color: var(--copper);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}
.nav-links li a {
  color: rgba(235, 217, 184, 0.88);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
}
.nav-links li a.btn-nav {
  border: 1px solid var(--copper);
  color: var(--copper);
  padding: 8px 20px;
}
.nav-links li a.btn-nav:hover {
  background: var(--copper);
  color: var(--void);
}

/* ── HAMBURGER ── */
#hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(191, 122, 53, 0.3);
  cursor: pointer;
  color: var(--cream);
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
#hamburger:hover {
  border-color: var(--copper);
  color: var(--copper);
}

/* ── COMMON UTILITIES ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), transparent);
  margin: 32px 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--copper);
  color: var(--void);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: all 0.4s ease;
}
.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(191, 122, 53, 0.3);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border: 1px solid rgba(235, 217, 184, 0.3);
  color: var(--parchment);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: all 0.4s;
}
.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

p + p {
  margin-top: 16px;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 70px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }

/* ── FOOTER ── */
footer {
  background: var(--void);
  padding: 80px 6% 32px;
  border-top: 1px solid rgba(191, 122, 53, 0.15);
}
.footer-top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 22px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: var(--mist);
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(160, 160, 185, 0.9);
  font-weight: 300;
}
.footer-bottom a {
  color: var(--copper);
  text-decoration: none;
}


/* ── SCROLL-TO-TOP ── */
#scrollTop {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 48px;
  height: 48px;
  background: var(--copper);
  color: var(--void);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s ease;
  pointer-events: none;
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scrollTop:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(191, 122, 53, 0.3);
}

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  #hamburger {
    display: flex;
  }
  .nav-links {
    display: none !important;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(7, 7, 13, 0.99);
    flex-direction: column !important;
    gap: 2px !important;
    padding: 16px 0 24px;
    border-bottom: 1px solid rgba(191, 122, 53, 0.2);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    z-index: 499;
    animation: slideDown 0.3s ease;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    display: block;
    padding: 14px 6% !important;
    border-bottom: 1px solid rgba(191, 122, 53, 0.06);
    font-size: 12px !important;
    letter-spacing: 0.15em;
  }
  .nav-links li a.btn-nav {
    margin: 12px 6%;
    width: calc(100% - 12%);
    text-align: center;
    border: 1px solid var(--copper) !important;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  #scrollTop {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
