/* ===========================================================
   REFINED HYBRID TRAINING — BASE / RESET
   =========================================================== */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-3);
  z-index: 1000;
  background: var(--color-brass);
  color: var(--color-onyx);
  padding: var(--space-2) var(--space-4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-3);
}

/* ---- Focus states ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 3px;
}

/* ---- Type scale helpers ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-brass);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-brass);
  margin-bottom: var(--space-4);
}

.eyebrow--light {
  color: var(--color-brass-dark);
}

h1,
.h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2,
.h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

h3,
.h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-on-dark-dim);
  max-width: 60ch;
}

.on-light .lede {
  color: rgba(11, 11, 12, 0.72);
}
