/* ───────────────────────────────────────────
   MKH Alliance — Shared Stylesheet
─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy:    #0C1F3F;
  --navy-2:  #142A52;
  --ink:     #09131F;
  --gold:    #C8923A;
  --gold-lt: #E8B86D;
  --royal:   #1E4080;
  --warm:    #F7F4EE;
  --paper:   #FBF9F4;
  --white:   #ffffff;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

/* ── Typography ── */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}
.gold-italic { font-style: italic; color: var(--gold); }
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.body { font-size: 15px; line-height: 1.75; color: rgba(12,31,63,0.65); }
.gold-rule { width: 40px; height: 2px; background: var(--gold); margin: 20px 0 32px; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

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

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
#navbar.transparent {
  background: transparent;
}
#navbar.dark {
  background: rgba(9,19,31,0.96);
  backdrop-filter: blur(12px);
}
#navbar.scrolled {
  background: rgba(9,19,31,0.96) !important;
  backdrop-filter: blur(12px);
  padding: 14px 48px;
  box-shadow: 0 1px 0 rgba(200,146,58,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: white;
}
.nav-logo-text span { color: var(--gold); font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 32px; position: relative; }
.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  padding: 6px 0;
  position: relative;
}
.nav-link:hover { color: var(--gold); }
.nav-link.active {
  color: var(--gold);
}
.nav-link.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
}
.nav-cta {
  border: 1px solid rgba(200,146,58,0.5);
  color: var(--gold) !important;
  padding: 8px 20px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--ink) !important; }
.nav-cta.active::after { display: none; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(9,19,31,0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200,146,58,0.2);
  border-radius: 2px;
  padding: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu a:hover { color: var(--gold); background: rgba(200,146,58,0.06); }

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-toggle-stack {
  display: flex; flex-direction: column; gap: 6px;
}
.nav-toggle-stack span {
  display: block; width: 24px; height: 2px;
  background: white;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.open .nav-toggle-stack span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open .nav-toggle-stack span:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-stack span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(9,19,31,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 100px 24px 48px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex; align-items: center;
  min-height: 56px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0;
  transition: color 0.2s;
}
.mobile-menu a:active { color: var(--gold); }
.mobile-menu a.active { color: var(--gold); }
.mobile-menu .sub { font-size: 16px; color: rgba(255,255,255,0.5); padding-left: 20px; border-bottom: none; min-height: 44px; }
.mobile-menu .mobile-cta {
  margin-top: 16px;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px;
  border: none;
  border-bottom: none;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; z-index: 101; }
  #navbar { padding: 16px 24px; }
  #navbar.scrolled { padding: 12px 24px; }
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-height: 48px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 32px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.btn-gold:hover { background: var(--gold-lt); }
.btn-gold:active { transform: scale(0.98); }

.btn-outline {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-height: 48px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 13px 32px;
  border: 1px solid rgba(255,255,255,0.2); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline:active { transform: scale(0.98); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-height: 48px;
  background: transparent;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 13px 32px;
  border: 1px solid rgba(12,31,63,0.2); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline-dark:hover { background: var(--navy); color: white; border-color: var(--navy); }
.btn-outline-dark:active { transform: scale(0.98); }

/* Mobile button refinements — full-width when stacked */
@media (max-width: 640px) {
  .btn-gold, .btn-outline, .btn-outline-dark {
    min-height: 52px;
    padding: 16px 28px;
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-gold, .hero-actions .btn-outline { width: 100%; }
}

/* ─────────────────────────────────────────
   PAGE HEADER (interior pages)
───────────────────────────────────────── */
.page-header {
  background: var(--ink);
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
  color: white;
}
@media (max-width: 640px) {
  .page-header { padding: 140px 0 64px; }
  .page-header h1 { font-size: clamp(36px, 9vw, 48px) !important; }
  .page-header p.lead { font-size: 15px; }
}
.page-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.page-header-inner { position: relative; z-index: 2; }
.page-header-crumbs {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.page-header-crumbs a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
.page-header-crumbs a:hover { opacity: 0.7; }
.page-header-crumbs span.sep { opacity: 0.4; }
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 24px;
}
.page-header p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
}
.page-header-deco {
  position: absolute;
  right: -100px; top: -100px;
  opacity: 0.1;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   TICKER
───────────────────────────────────────── */
.ticker {
  background: var(--gold);
  padding: 12px 0;
  overflow: hidden;
}
@keyframes ticker-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 30s linear infinite;
}
.ticker-item {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 28px;
  display: flex; align-items: center; gap: 28px;
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); opacity: 0.4; }

/* ─────────────────────────────────────────
   CARDS / SHARED SECTIONS
───────────────────────────────────────── */
.section { padding: 120px 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } }
.section-light { background: var(--warm); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--navy); color: white; }
.section-ink { background: var(--ink); color: white; }

.eyebrow-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.eyebrow-row .line { width: 32px; height: 1px; background: var(--gold); }

.card {
  background: white;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(12,31,63,0.08); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(200,146,58,0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-block p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  margin-top: 20px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-locations p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.footer-locations p strong {
  color: white;
  font-weight: 500;
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer-bottom .social { display: flex; gap: 12px; }
.footer-bottom .social a {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.footer-bottom .social a:hover { border-color: var(--gold); color: var(--gold); }

/* ─────────────────────────────────────────
   FORM
───────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: none; height: 140px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group select { appearance: none; }
