/* ============================================================================
   Base — Reset, Typography, Utilities
   ============================================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-sub { color: var(--text-dim); font-size: 16px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-dim); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: var(--bg);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Global Focus Styles */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0;
}

/* Visually Hidden */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Page wrapper for sidebar layout */
.page-layout {
  display: flex;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.page-sidebar { width: 260px; flex-shrink: 0; }
.page-main { flex: 1; min-width: 0; }
