/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--color-base);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1.05;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(40px, 8vw, 64px); }
h2 { font-size: clamp(28px, 5vw, 48px); }
h3 { font-size: clamp(20px, 3vw, 28px); }

p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

p + p { margin-top: var(--s2); }

/* ─── Layout Utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s3);
}

.text-max {
  max-width: var(--max-w-text);
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-base), transform var(--t-base);
}

.fade-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Accessibility ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ─── Section Spacing ────────────────────────────────────── */
.section {
  padding-block: var(--s6);
}

.section--surface {
  background: var(--color-surface);
}

/* ─── Divider ────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--color-surface-2);
  margin: var(--s4) 0;
}

/* ─── Gold accent line ───────────────────────────────────── */
.accent-line {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--color-accent);
  margin: var(--s3) 0;
}

/* ─── Label (uppercase micro) ────────────────────────────── */
.label {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (min-width: 768px) {
  body { font-size: 16px; }
  h1   { font-size: clamp(48px, 6vw, 72px); }
}

@media (min-width: 1200px) {
  .container { padding-inline: var(--s4); }
}
