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

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

html {
  min-height: 100svh;
  scroll-behavior: smooth;

  overflow-x: clip;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;

  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.05;
}

.u-h-xl     { font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-5); line-height: 1.0;  }
.u-h-large  { font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-4); line-height: 1.05; }
.u-h-medium { font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-3); line-height: 1.05; }
.u-h-small  { font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-2); line-height: 1.2;  }

.u-body-large { font-size: var(--fs-1); line-height: 1.4; }
.u-body       { font-size: var(--fs-0); line-height: 1.5; }
.u-body-small { font-size: var(--fs--1); line-height: 1.5; }

.u-eyebrow {
  font-size: var(--fs--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.container {
  width: 100%;
  max-width: var(--grid-whole);
  margin-inline: auto;
  padding-inline: var(--grid-padding);
}
.section { padding-block: var(--space-3xl); }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
