/* Reset, typography defaults and layout primitives. */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font: 400 var(--text-base) / 1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg { display: block; }

:focus-visible {
  outline: 2px solid var(--color-danube);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding-top: var(--section); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0;
  max-width: 14ch;
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  max-width: 22rem;
  color: var(--color-muted);
}

/* Split words (hero headline + manifesto) */
.w { display: inline-block; white-space: pre; }

@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
