/* Base Reset, Typography, and WCAG 2.2 AA Accessibility Primitives */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--oropa-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-drawer-open {
  overflow: hidden;
}

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

/* Global SVG Sprite Icon Sizes (shared across Public UI & Admin) */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 30px;
  height: 30px;
}

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.65em;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.55rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.38rem);
}

p {
  margin: 0 0 1.1rem;
}

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

/* Visible Keyboard Focus Indicator (WCAG 2.2 AA) */
:focus-visible {
  outline: 3px solid var(--oropa-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip to Content Link */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--oropa-blue);
  color: var(--oropa-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section-surface {
  background-color: var(--oropa-surface-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background-color: var(--oropa-navy);
  color: var(--text-on-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oropa-blue);
  margin-bottom: 14px;
}

.section-dark .eyebrow,
.hero .eyebrow {
  color: var(--oropa-cyan);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--oropa-cyan);
  box-shadow: 0 0 12px var(--oropa-cyan);
}

.section-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 68ch;
}

.section-dark .section-lead {
  color: var(--text-on-dark-muted);
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-header-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-header-split .section-header {
  margin-bottom: 0;
}
