/* ── Reset and Global Styles ── */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }

h1 em, h2 em { color: var(--blue); font-style: italic; }

a { color: inherit; text-decoration: none; }

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

ul, ol { list-style: none; }

::selection {
  background: var(--blue);
  color: var(--black);
}

/* Skip to content */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1001;
  padding: var(--s2) var(--s4);
  background: var(--blue);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.skip-link:focus {
  left: var(--s2);
  top: var(--s2);
  width: auto;
  height: auto;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

/* Section spacing */
.section {
  padding: var(--s10) 0;
}
