/*
  base.css — reset + global typography.
  WP PORTING NOTE: this is the equivalent of the "global styles" block
  WordPress's Site Editor generates from theme.json.
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  text-transform: uppercase; line-height: 1; letter-spacing: -1px; color: var(--ink);
}
.section-title span { color: var(--green); }
.section-sub { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 560px; margin-top: 16px; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 16px auto 0; }

.on-dark { background: var(--charcoal); }
.on-dark .section-title, .on-dark h3, .on-dark h4, .on-dark h5 { color: var(--on-dark); }
.on-dark .section-sub, .on-dark p { color: var(--on-dark-muted); }
.on-dark .section-label { color: var(--green-light); }

/* Visually-hidden helper for a11y labels */
.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;
}

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

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
}
