/* =============================================
   BASE STYLES — Typography, Global, Utilities
   ============================================= */

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  transition: background-color var(--duration-slow) ease,
              color var(--duration-slow) ease;
}

body.no-scroll {
  overflow: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: 1.15;
  color: var(--color-text);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 65ch;
}

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

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

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.section-padding {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

/* Section Title */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  margin-left: auto;
  margin-right: auto;
}

.section-line {
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin: var(--space-md) auto;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s var(--ease-out-expo);
}

.section-line.is-visible {
  transform: scaleX(1);
}

/* Reveal animations base state */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
