/* ============================================
   Base Styles - Typography & Globals
   ============================================ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  background-color: var(--color-black);
  overflow-x: hidden;
}

/* Prevent scroll when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-2);
}

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

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

/* Body text */
p {
  margin-bottom: var(--space-4);
  color: var(--color-silver);
  line-height: 1.8;
}

/* Links */
a {
  transition: color var(--transition-fast);
}

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

/* Focus styles */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: var(--color-gold);
  color: var(--color-black);
}

/* Section title styling */
.section-title {
  text-align: center;
  margin-bottom: var(--space-4);
  color: var(--color-white);
}

.section-subtitle {
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-silver);
  max-width: 700px;
  margin: 0 auto var(--space-10);
}

/* Gold accent for special text */
.text-gold {
  color: var(--color-gold);
}

/* Small gold line decoration above section titles */
.section-title::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--text-6xl);
  }
}
