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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
figure,
blockquote {
  margin: 0;
}

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

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

address {
  font-style: normal;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
}

.skip:focus {
  top: 1rem;
  color: var(--white);
}

.icon {
  flex: none;
}

/* Reveal on scroll: one quiet fade-up, staggered inside rows.
   Hidden only once the script is running (`.reveal-ready` on <html>), so content never stays invisible without JS. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease var(--d, 0s),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s);
}

.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.grid > [data-reveal]:nth-child(2),
.columns > [data-reveal]:nth-child(2),
.timeline > [data-reveal]:nth-child(2),
.steps > [data-reveal]:nth-child(2) {
  --d: 0.08s;
}

.grid > [data-reveal]:nth-child(3),
.columns > [data-reveal]:nth-child(3),
.timeline > [data-reveal]:nth-child(3),
.steps > [data-reveal]:nth-child(3) {
  --d: 0.16s;
}

.grid > [data-reveal]:nth-child(4),
.columns > [data-reveal]:nth-child(4),
.timeline > [data-reveal]:nth-child(4),
.steps > [data-reveal]:nth-child(4) {
  --d: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
