/* JSE 2026 v4 — Base Reset + Typography */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-on-paper);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }
img { -webkit-user-drag: none; user-select: none; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

button { font-family: inherit; cursor: pointer; }

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: inherit;
}
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

em { font-style: normal; color: var(--accent); }

::selection { background: var(--accent); color: var(--ink-900); }

.skip-link {
  position: absolute; left: -9999px; top: -9999px;
  background: var(--accent); color: var(--ink-900);
  padding: var(--s-3) var(--s-5); font-weight: 700;
  z-index: var(--z-modal);
}
.skip-link:focus { left: var(--s-3); top: var(--s-3); }

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
@media (min-width: 720px) { .container { padding-inline: var(--s-7); } }
@media (min-width: 1100px) { .container { padding-inline: var(--s-8); } }
.container--narrow { max-width: var(--content-narrow); }
.container--prose { max-width: var(--content-prose); }
.container--full { max-width: var(--content-full); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  margin-bottom: var(--s-3);
}
.section--ink .eyebrow,
.section--dark .eyebrow,
.hero .eyebrow { color: var(--accent); }

.section { padding-block: var(--s-9); }
.section--paper { background: var(--paper); color: var(--text-on-paper); }
.section--paper-tint { background: var(--paper-tint); color: var(--text-on-paper); border-block: 1px solid var(--border-on-paper); }
.section--ink { background: var(--ink-900); color: var(--text-on-ink); }
.section--ink-2 { background: var(--ink-800); color: var(--text-on-ink); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  max-width: 60ch;
  color: var(--text-on-paper-muted);
}
.section--ink .lead, .section--ink-2 .lead, .hero .lead { color: var(--text-on-ink-muted); }

.meta {
  font-size: var(--fs-meta);
  color: var(--text-on-paper-muted);
  letter-spacing: 0.05em;
}
.section--ink .meta { color: var(--text-on-ink-dim); }

@media (max-width: 480px) {
  body { font-size: 0.96rem; }
}

[hidden] { display: none !important; }
