/* ============================================================
   Base — reset, typography, buttons, links
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--paper-cream);
  color: var(--charcoal-ink);
  font-family: var(--f-spectral);
  font-size: 1.15rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 4%; }

h1, h2, h3 {
  font-family: var(--f-cormorant);
  color: var(--slate-navy);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1.mega-display { font-size: clamp(3.2rem, 6vw + 1rem, 6.5rem); margin-bottom: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); }

/* Accessibility helpers */
.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 {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--slate-navy); color: #fff; padding: 0.75rem 1.25rem;
  font-family: var(--f-manrope); border-radius: 0 0 var(--br-dropdown) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--ama-plum); outline-offset: 2px; }

/* Buttons */
.btn {
  font-family: var(--f-manrope); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.6rem; border-radius: var(--br-pill);
  cursor: pointer; transition: all 0.3s ease; font-size: 0.95rem;
  text-decoration: none; line-height: 1; border: 2px solid transparent;
}
.btn-lg { padding: 1rem 2rem; }
.btn-sm { padding: 0.6rem 1.4rem; }
.btn-primary { background: var(--slate-navy); color: var(--card-white); border-color: var(--slate-navy); }
.btn-primary.ama { background-color: var(--ama-plum); border-color: var(--ama-plum); }
.btn-primary:hover { filter: brightness(1.15); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); border-color: transparent; }
.btn-outline { color: var(--slate-navy); border-color: rgba(var(--navy-rgb), 0.2); background: transparent; }
.btn-outline:hover { background: var(--slate-navy); color: #fff; border-color: var(--slate-navy); }
.btn-on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.btn-on-dark:hover { background: #fff; color: var(--slate-navy); border-color: #fff; }
.btn .arr { margin-left: 0.6rem; display: inline-block; font-size: 1.2em; font-weight: normal; transform: translateY(-1px); }

/* Tertiary text link */
.pathway-link {
  font-family: var(--f-manrope); color: var(--slate-navy); font-weight: 700;
  border-bottom: 2px solid var(--gold-brass); display: inline-block; margin-top: auto;
  font-size: 0.95rem; padding-bottom: 3px; transition: color 0.2s, border-color 0.2s;
}
.pathway-link:hover { color: var(--ama-plum); border-bottom-color: var(--ama-plum); }
.pathway-link--light { color: #fff; }
