/* ============================================================
   TRUE NORTH — BASE STYLES v2
   base.css | Resets, global, utilities, section patterns
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-white);
  background: var(--color-navy-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: var(--weight-bold); line-height: var(--leading-tight); }

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-emerald-500);
  color: var(--color-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  z-index: var(--z-toast);
  transition: top var(--duration-fast);
}
.skip-link:focus { top: var(--space-4); }

/* ═══ LAYOUT ═══ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }
.container--text   { max-width: var(--container-text); }
.container--tight  { max-width: var(--container-tight); }

/* ═══ SECTION PATTERNS ═══ */
.section-pad {
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}

.section--alt { background: var(--gradient-section-dark); }
.section--mid { background: var(--gradient-section-mid); }

/* NOTE: .section-header, .section-eyebrow, .section-title, .section-subtitle
   are defined in components.css (single source of truth) */

/* ═══ TEXT UTILITIES ═══ */
.t-gradient-gold {
  background: var(--gradient-text-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t-gradient-emerald {
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t-muted   { color: rgba(255,255,255,0.45); }
.t-subtle  { color: rgba(255,255,255,0.25); }
.t-gold    { color: var(--color-gold-400); }
.t-emerald { color: var(--color-emerald-400); }
.t-center  { text-align: center; }

/* NOTE: .bg-dots, .bg-glow, .bg-glow--* are defined in components.css (single source of truth) */

/* ═══ SCROLL REVEAL ═══ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal-delay="2"] { transition-delay: 200ms; }
[data-reveal-delay="3"] { transition-delay: 300ms; }
[data-reveal-delay="4"] { transition-delay: 400ms; }

/* NOTE: .compliance-banner is defined in components.css (single source of truth) */

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .section-pad { padding-block: var(--space-16); }
  .section-header { margin-bottom: var(--space-12); }
}

@media (max-width: 768px) {
  .container { padding-inline: var(--space-5); }
  .section-pad { padding-block: var(--space-12); }
}

@media (max-width: 480px) {
  .section-pad { padding-block: var(--space-10); }
}
