/* Purpose: Global reset, base typography, layout primitives and shared utilities. Ported from AXL HTML. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.06;
  margin: 0;
  letter-spacing: -.02em;
  font-weight: 700;
}
p { margin: 0; }

/* ---- Layout primitives ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section-pad { padding: 80px 0; }

/* ---- Brand / logo ---- */
.axl-logo { height: 30px; width: auto; display: block; fill: currentColor; flex: none; }
.brand { display: inline-flex; align-items: center; line-height: 0; transition: transform .35s var(--ease); }
.brand:hover { transform: scale(1.03); }

/* ---- Eyebrow label ---- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  border-top: 2px solid var(--accent);
  border-right: 6px solid transparent;
}

/* ---- Section heading block ---- */
.sec-head { max-width: 640px; margin-bottom: 54px; }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 46px); margin: 16px 0 14px; }
.sec-head p { color: var(--slate); }
.sec-head--wide { max-width: 760px; }
.sec-head--tight { margin-bottom: 0; }
.h2--spaced { margin-top: 16px; }

/* ---- Scroll-reveal (JS toggles .in) ---- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

/* ---- Accessibility helpers ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
