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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--charcoal);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--violet);
  color: var(--cream);
}

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

/* Skip to content link for keyboard users */
.skip-link {
  position: absolute;
  top: -999px;
  left: 20px;
  z-index: 10000;
  background: var(--violet);
  color: #fff;
  padding: 12px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2px;
  text-decoration: none;
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 20px;
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* Global High-Contrast Accessible Focus Indicators */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.25);
}

/* Light Background Sections Focus Indicator */
.light :focus-visible,
#manifesto :focus-visible,
#process :focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(184, 69, 31, 0.25);
}

.display {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

section {
  position: relative;
}

.dark {
  background: var(--charcoal);
  color: var(--cream);
}

.light {
  background: var(--cream);
  color: var(--ink);
}

.pad {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5.5vw, 56px);
}

@media (max-width: 768px) {
  .pad {
    padding: clamp(48px, 7.5vw, 68px) clamp(16px, 4.5vw, 28px);
  }
}

.reveal {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
