/* ==========================================================================
   BASE — reset & typography (v2: white / editorial)
   ========================================================================== */

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

::selection {
  background: var(--c-blue);
  color: #fff;
}

/* Focus visibility — always kept, never removed */
:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Utility */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

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

/* Eyebrow — tracked uppercase label, editorial not techy */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: var(--space-sm);
}
.eyebrow__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-blue);
  flex-shrink: 0;
}
.section--dark .eyebrow,
.section--ink .eyebrow { color: #fff; }
.section--dark .eyebrow__dot,
.section--ink .eyebrow__dot { background: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--space-xl); }
.section-head--left { margin-right: auto; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title { font-size: var(--fs-h2); }

/* WP core alignment / caption compatibility */
.alignwide { max-width: var(--container-wide); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: var(--fs-small); color: var(--c-slate); margin-top: 8px; }

body.js-loading { overflow: hidden; }

/* Editorial rule — thin horizontal line used as a design element */
.rule {
  height: 1px;
  background: var(--c-paper-line);
  border: none;
}
