/* Base / reset / layout helpers — uses tokens from theme.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-style: italic; line-height: var(--lh-tight); text-transform: var(--display-transform); letter-spacing: -.01em;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.container { width: min(100% - 2 * var(--container-padding), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-gap); position: relative; }
.section--alt { background: var(--color-bg-alt); }
.section--light { background: var(--color-light); color: var(--color-text-on-light); }
.section--light .lead, .section--light p { color: var(--color-text-muted-on-light); }
.eyebrow {
  display: inline-block; font-size: var(--fs-small); letter-spacing: .22em;
  text-transform: uppercase; color: var(--color-eyebrow); margin-bottom: 1.25rem; font-weight: 500;
}
.lead { font-size: 1.1rem; color: var(--color-text-muted); max-width: 40rem; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Dark sections: re-point the colour tokens so everything inside adapts */
.section--dark, .footer {
  --color-text: #ffffff; --color-text-muted: rgba(255,255,255,.62);
  --color-border: rgba(255,255,255,.18); --color-eyebrow: var(--color-accent);
  --color-accent-text: var(--color-accent);
  background: var(--color-dark); color: var(--color-text);
}

/* brand book: subheader / informational text = Roboto Mono Medium, uppercase */
.eyebrow, .coords { font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; }

/* no underlines on links */
a, a:hover { text-decoration: none; }
