/* ━━━ RESET & BASE ━━━ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--mono);
  background-color: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ━━━ SKIP LINK ━━━ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--bg);
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 13px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ━━━ TYPOGRAPHY ━━━ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
}

h1 { font-size: 72px; }
h2 { font-size: 44px; }
h3 { font-size: 28px; font-weight: 400; }

h1 .gold, h2 .gold, h3 .gold {
  color: var(--gold);
  font-weight: 500;
  font-style: italic;
}

/* ━━━ SECTION HELPERS ━━━ */
.section { padding: var(--section-pad); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.divider {
  height: 1px;
  max-width: var(--max-width);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(198, 164, 78, 0.25), transparent);
}

/* ━━━ ANIMATIONS ━━━ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }
  @keyframes subtlePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
  }

  .animate-in { opacity: 0; }
  .animate-in.visible { animation: fadeInUp 0.8s ease both; }
  .animate-in.visible.d1 { animation-delay: 0.1s; }
  .animate-in.visible.d2 { animation-delay: 0.2s; }
  .animate-in.visible.d3 { animation-delay: 0.3s; }
  .animate-in.visible.d4 { animation-delay: 0.4s; }

  .gold-shimmer {
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-in { opacity: 1; }
  .gold-shimmer {
    color: var(--gold);
    background: none;
    -webkit-text-fill-color: var(--gold);
  }
}

/* ━━━ FOCUS STYLES ━━━ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 900px) {
  h1 { font-size: 44px; }
  h2 { font-size: 36px; }
  .section { padding: var(--section-pad-mobile); }
}

@media (max-width: 480px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  body { font-size: 14px; }
}
