/* ============================================================
   BASE STYLES
============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-weight: 300;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.1;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Focus ring — WCAG 2.4.7 */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   SKIP LINK — WCAG 2.4.1
============================================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--color-accent);
  color: var(--color-surface-deep);
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.15s;
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================================
   SECTION DIVIDER (ornamental rule)
============================================================ */

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
}

.section-label::before {
  background: linear-gradient(90deg, transparent, var(--color-border));
}

.section-label::after {
  background: linear-gradient(90deg, var(--color-border), transparent);
}

.section-label span {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  white-space: nowrap;
}
