/* ================================
   Global Styles
   ================================ */

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--body-text);
  background: var(--white);
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.125rem; }
}

p {
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 4rem; }
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 640px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__logo svg {
  height: 32px;
  width: auto;
}

.site-header__wordmark {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}

/* Desktop Nav */
.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-7);
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--medium-gray);
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .mobile-nav-toggle { display: none !important; }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: background 0.2s ease;
}

.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--white);
  left: 0;
  transition: transform 0.2s ease;
}

.mobile-nav-toggle span::before { top: -7px; }
.mobile-nav-toggle span::after { top: 7px; }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-7);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav__close svg {
  stroke: var(--white);
  width: 24px;
  height: 24px;
}

/* Site Footer */
.site-footer {
  background: var(--navy);
  color: var(--medium-gray);
  padding: var(--space-8) 0 var(--space-6);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.1em;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.site-footer__nav a {
  font-size: 0.875rem;
  color: var(--medium-gray);
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__copy {
  font-size: 0.75rem;
}

.site-footer__location {
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Page Body Offset (for fixed header) */
.page-body {
  padding-top: 72px;
}
