*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); }

/* Page wrapper */
.page-wrap {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 40px 32px 60px;
}

/* Page title block */
.page-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-burgundy);
  margin-bottom: 6px;
}
.page-subtitle {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 16px;
}
.page-divider {
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin-bottom: 36px;
}

/* Section heading with rule */
.section-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-burgundy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--color-border), transparent);
}

/* Utility */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
