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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Typography scale */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
}

p {
  font-family: var(--sans);
  font-weight: 300;
}

a {
  color: inherit;
}

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

/* Section base */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section--dark {
  background: var(--maroon);
}

.section--tinted {
  background: var(--ivory-d);
}

/* Page wrapper — pushes content below fixed nav */
.page-body {
  padding-top: 80px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}
