/* ============================================================
   BASE — Reset · Variables · Typography
   ============================================================ */

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

:root {
  /* Palette */
  --bg:          #070809;
  --bg-2:        #0C0E12;
  --bg-3:        #111418;
  --bg-card:     #0F1115;
  --text:        #EDE9E3;
  --text-dim:    #968F86;
  --text-dimmer: #524E48;
  --gold:        #C9A84C;
  --gold-light:  #E8D08A;
  --gold-dark:   #8B6E2A;
  --gold-bg:     rgba(201, 168, 76, 0.07);
  --blue:        #7BA7C9;
  --blue-dim:    rgba(123, 167, 201, 0.15);
  --border:      rgba(201, 168, 76, 0.14);
  --border-dim:  rgba(237, 233, 227, 0.06);

  /* Type scale */
  --font-serif:   'Cormorant Garamond', 'Georgia', serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-display: 'Bebas Neue', sans-serif;

  /* Spacing */
  --max-w:  1200px;
  --gutter: clamp(1.5rem, 5vw, 3rem);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

em {
  font-style: italic;
  color: var(--gold-light);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol { list-style: none; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--bg);
  padding: .5rem 1rem;
  z-index: 1000;
  font-size: .85rem;
  font-family: var(--font-sans);
}
.skip-link:focus { top: 1rem; }

/* Particle canvas */
.hero-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .45;
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* Section label */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-label-line {
  flex: 1;
  max-width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-label-text {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Section title */
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -.01em;
  margin-bottom: 1.2rem;
  color: var(--text);
}

/* Section body */
.section-body {
  font-size: clamp(.95rem, 1.1vw, 1.1rem);
  color: var(--text-dim);
  max-width: 60ch;
  line-height: 1.75;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: .85rem 2.2rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  padding: .85rem 2.2rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* Bullet dots */
.bullet        { margin-right: .5rem; font-size: .6rem; }
.bullet-gold   { color: var(--gold); }
.bullet-blue   { color: var(--blue); }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
