:root {
  --brand-green: #15803d;
  --brand-green-dark: #166534;
  --brand-orange: #ea580c;
  --brand-orange-dark: #c2410c;
  --brand-slate: #0f172a;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-green-dark);
  padding: 0.75rem 1rem;
  font-weight: 900;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.nav-link {
  position: relative;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-orange);
  content: "";
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-green-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu {
  border-top: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.mobile-link {
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  color: #334155;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-link:hover,
.mobile-link:focus-visible {
  background: #fff7ed;
  color: var(--brand-orange-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 18px 35px rgba(234, 88, 12, 0.24);
}

.btn-primary:hover {
  background: var(--brand-orange-dark);
  box-shadow: 0 20px 45px rgba(234, 88, 12, 0.32);
}

.btn-secondary {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: var(--brand-green-dark);
}

.btn-secondary:hover {
  border-color: var(--brand-green);
  background: #dcfce7;
}

.btn-light {
  background: #fff;
  color: var(--brand-green-dark);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.16);
}

.btn-light:hover {
  color: var(--brand-orange-dark);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.bg-grid {
  background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-card {
  position: relative;
  border-radius: 2.25rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.county-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.9rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.section {
  padding: 6rem 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  display: inline-block;
  width: 2rem;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.section-title {
  margin-top: 1rem;
  color: #020617;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 1000;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-copy {
  margin-top: 1.25rem;
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.8;
}

.feature-panel,
.program-card,
.focus-card,
.contact-form,
.metric-card {
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.feature-panel {
  padding: 2rem;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.icon-badge {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  font-size: 1.4rem;
}

.program-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: #fed7aa;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.program-card h3,
.focus-card h3 {
  margin-top: 1.25rem;
  color: #020617;
  font-size: 1.35rem;
  font-weight: 1000;
}

.program-card p,
.focus-card p {
  margin-top: 0.75rem;
  color: #475569;
  line-height: 1.7;
}

.program-card ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.5rem;
  color: #334155;
  font-weight: 750;
}

.program-card li::before {
  margin-right: 0.5rem;
  color: var(--brand-orange);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";
}

.focus-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .focus-card {
    grid-template-columns: auto 1fr;
  }
  .focus-card h3 {
    margin-top: 0;
  }
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.timeline::before {
  position: absolute;
  left: 2.15rem;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.timeline-number {
  z-index: 1;
  display: inline-flex;
  width: 4.25rem;
  height: 4.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.35rem;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 1000;
}

.timeline-period {
  color: #fdba74;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline h3 {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 1000;
}

.timeline p:last-child {
  margin-top: 0.65rem;
  color: #cbd5e1;
  line-height: 1.75;
}

.metric-card {
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.metric {
  color: var(--brand-green);
  font-size: 3rem;
  font-weight: 1000;
  line-height: 1;
}

.metric-card p:last-child {
  margin-top: 0.5rem;
  color: #475569;
  font-weight: 850;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 850;
}

.contact-line:hover {
  color: #fed7aa;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .contact-form {
    padding: 2rem;
  }
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-group label {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 900;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0.9rem 1rem;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group textarea {
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.12);
  outline: none;
}

.field-group [aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

.field-error {
  min-height: 1.1rem;
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 800;
}

.form-status {
  min-height: 1.25rem;
  color: var(--brand-green-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.footer-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
  color: #94a3b8;
}

.footer-list a:hover {
  color: #fdba74;
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
