/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #1A1A1A; color: #F5F0E6; font-family: 'Georgia', 'Times New Roman', serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* CSS Variables */
:root {
  --primary: #8B0000;
  --primary-dark: #660000;
  --accent: #C9A96E;
  --accent-light: #E8D5A3;
  --bg-dark: #1A1A1A;
  --bg-cream: #F5F0E6;
  --text-primary: #F5F0E6;
  --text-secondary: #C9A96E;
  --font-heading: 'Arial Black', 'Impact', sans-serif;
  --font-body: 'Georgia', 'Times New Roman', serif;
  --font-year: 'Courier New', monospace;
  --content-max: 1200px;
  --header-height: 80px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--bg-cream);
  color: var(--bg-dark);
  font-family: Arial, sans-serif;
  font-weight: bold;
}
.skip-link:focus { top: 0; left: 0; }

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

/* Header */
.site-header {
  background: var(--bg-dark);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 900;
  font-family: var(--font-heading);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  position: relative;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-heading);
  text-align: center;
  margin: 0.3rem 0;
}
.brand-name {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  margin-left: auto;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.2s;
}
.nav {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}
.nav-list {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-link {
  display: block;
  padding: 0.4rem 0.8rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-primary);
  background: rgba(139,0,0,0.3);
}
.nav-link[aria-current="page"] {
  color: var(--text-primary);
  border-bottom-color: var(--primary);
  background: rgba(139,0,0,0.2);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--primary);
  padding: 2rem 1.5rem 1.5rem;
  font-family: var(--font-body);
  color: var(--text-secondary);
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }
}
.footer-brand .brand {
  font-size: 1.2rem;
  display: inline-block;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 0.3rem;
  font-family: Arial, sans-serif;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-links { align-items: flex-start; }
}
.footer-link {
  color: var(--accent-light);
  transition: color 0.2s;
  font-size: 0.9rem;
}
.footer-link:hover,
.footer-link:focus-visible { color: var(--text-primary); }
.footer-legal p {
  font-size: 0.8rem;
  line-height: 1.5;
}
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(201,169,110,0.3);
  padding-top: 1rem;
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border: 2px solid var(--accent);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-family: var(--font-heading);
}
.scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover,
.scroll-top:focus-visible {
  background: var(--primary-dark);
  border-color: var(--accent-light);
  transform: scale(1.05);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}
.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
  border-color: var(--accent);
}

/* Section */
.section { padding: 4rem 1.5rem; }

/* Main Content */
.site-main { min-height: 60vh; padding: 2rem 0; }

/* Responsive */
@media (max-width: 767px) {
  .header-inner { justify-content: space-between; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
  }
  .nav[data-open="true"] { display: flex; }
  .nav-list { flex-direction: column; align-items: center; width: 100%; }
  .nav-link { width: 100%; text-align: center; padding: 0.8rem; }
  .brand { margin-right: auto; }
  .brand-name { font-size: 1.4rem; }
}

/* Focus-visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utility */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
