@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@2.47.0/tabler-icons.min.css');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --steel: #1a1e24;
  --steel-mid: #2c3340;
  --steel-light: #3e4657;
  --gold: #c49a3c;
  --gold-light: #e0b84a;
  --off-white: #f5f5f3;
  --text-dark: #1a1e24;
  --text-mid: #555;
  --text-light: #888;
  --border: rgba(0,0,0,0.1);
  --nav-h: 80px;
  --nav-border: rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { -webkit-tap-highlight-color: transparent; }

/* ═══════════════════════════════
   NAVIGATION
═══════════════════════════════ */
.abm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: var(--nav-h);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Logo — always visible, far left */
.abm-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  height: var(--nav-h);
  padding: 6px 0;
}
.abm-logo img {
  height: calc(var(--nav-h) - 14px);
  width: auto;
  object-fit: contain;
  display: block;
}

/* Right-side group (links + CTA) — desktop only */
.nav-right {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  height: var(--nav-h);
}
.nav-links li a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  padding: 0 0.85rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-links li a:hover {
  color: var(--gold);
  background: rgba(196,154,60,0.04);
  border-bottom-color: var(--gold);
}
.nav-links li a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--steel);
  color: #fff;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  margin-left: 10px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--gold);
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196,154,60,0.35);
}
.nav-cta:active { transform: translateY(0); }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.25s ease;
  pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — hidden by default, full screen overlay */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--nav-border);
  padding-bottom: env(safe-area-inset-bottom, 16px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  padding: 18px 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  min-height: 60px;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--gold); background: rgba(196,154,60,0.05); }
.mobile-menu .mobile-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  background: var(--steel);
  color: #fff;
  justify-content: center;
  text-align: center;
  margin: 16px 1.5rem;
  min-height: 52px;
  border-bottom: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu .mobile-cta:hover { background: var(--gold); color: #1a1a1a; }

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn-primary, .btn-dark, .btn-outline-light {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 13px 26px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  min-height: 48px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--gold); color: #1a1a1a; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(196,154,60,0.35); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-dark { background: var(--steel); color: #fff; }
.btn-dark:hover { background: var(--steel-light); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.btn-dark:active { transform: translateY(0); }
.btn-outline-light { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-outline-light:active { transform: translateY(0); }

/* ═══════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════ */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 1.5px;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 12px;
}
.section-title-light {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.section-desc-light {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ═══════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════ */
.page-hero {
  background: var(--steel);
  padding: 60px 2.5rem 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 7vw, 58px);
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.52);
  max-width: 480px;
  line-height: 1.7;
}

/* ═══════════════════════════════
   STATS STRIP
═══════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat-block {
  padding: 24px 16px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-block:last-child { border-right: none; }
.stat-block .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 1px;
  color: var(--gold);
  line-height: 1;
}
.stat-block .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.abm-footer { background: var(--steel); padding: 36px 2.5rem 20px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.3); font-family: 'Inter', sans-serif; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.22); font-family: 'Inter', sans-serif; }
.footer-credit { font-size: 12px; color: rgba(255,255,255,0.22); font-family: 'Inter', sans-serif; }
.footer-credit a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: var(--gold); }

/* ═══════════════════════════════
   MOBILE — max-width: 768px
   Hide desktop nav, show hamburger
═══════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  .abm-nav { padding: 0 1rem; }

  /* Hide desktop nav links + CTA on mobile */
  .nav-links { display: none !important; }
  .nav-cta   { display: none !important; }

  /* Show hamburger button */
  .hamburger { display: flex; }

  .page-hero { padding: 40px 1.25rem 36px; }

  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-bottom: none; }
  .stat-block:nth-child(4) { border-right: none; border-bottom: none; }

  .abm-footer { padding: 28px 1.25rem 16px; }
  .footer-top { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  .btn-primary, .btn-dark, .btn-outline-light { width: 100%; justify-content: center; }
}

/* Very small phones */
@media (max-width: 480px) {
  :root { --nav-h: 64px; }
  .abm-logo img { height: calc(var(--nav-h) - 10px); }
  .section-label { font-size: 10px; }
}

/* iOS safe area */
@supports (padding: env(safe-area-inset-bottom)) {
  .abm-footer { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .mobile-menu { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
