/* Design tokens, reset, base typography, accessibility */
/* Self-hosted Lato (latin subset, SIL OFL): no third-party font requests */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/lato-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../assets/fonts/lato-latin-900-normal.woff2') format('woff2');
}
:root {
  --ink: #111;
  --paper: #f6f5f2;
  --white: #fff;
  --char: #2a2a2c;
  --gray: #6f6f73;
  --line: rgba(17, 17, 17, 0.14);
  --iri: linear-gradient(100deg, #b8f2e0, #7fe3ee 35%, #9cc4f5 70%, #9aa4f2);
  --display: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  font: 400 clamp(16px, 1.1vw, 18px)/1.6 var(--body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}
.dark :focus-visible,
.nav.on-dark :focus-visible {
  outline-color: #fff;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: var(--pad);
  top: 10px;
  background: #fff;
  padding: 8px 12px;
  z-index: 99;
}
.label {
  font: 400 14px var(--body);
  color: var(--gray);
  display: block;
  margin-bottom: 28px;
}
html.gsap .reveal {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Spacing helpers (replace inline style attributes so a strict CSP can be used) */
.mt-12 {
  margin-top: 12px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-40 {
  margin-top: 40px;
}
.span-all {
  grid-column: 1 / -1;
}
