:root {
  --ink: #15343a;
  --muted: #60777b;
  --primary: #0d5661;
  --primary-dark: #083b43;
  --accent: #d6f0e9;
  --warm: #f5f3ed;
  --white: #ffffff;
  --line: #dce6e5;
  --shadow: 0 18px 45px rgba(18, 61, 68, .10);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(220,230,229,.8); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--primary); color: white; border-radius: 10px; font-size: 25px; line-height: 1; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { text-decoration: none; font-weight: 650; font-size: .95rem; }
.primary-nav a:not(.nav-button):hover { color: var(--primary); }
.nav-button { padding: 10px 16px; border: 1px solid var(--primary); border-radius: 999px; color: var(--primary); }
.nav-button:hover { background: var(--primary); color: white; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.priority-link { padding: 18px 0; background: #fff; border-bottom: 1px solid var(--line); }
.priority-link-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; border: 1px solid #a8d3ca; border-radius: 14px; background: var(--accent); color: var(--primary-dark); text-decoration: none; font-weight: 800; box-shadow: 0 8px 22px rgba(18,61,68,.07); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.priority-link-box:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow); }
.priority-link-action { white-space: nowrap; color: var(--primary); font-size: .92rem; }

.hero { overflow: hidden; background: linear-gradient(135deg, #eef8f4 0%, #f8f6f0 55%, #fff 100%); padding: 90px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); align-items: center; gap: 80px; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; max-width: 780px; font-size: clamp(2.7rem, 6vw, 5.25rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.2rem; }
.hero-copy { max-width: 710px; margin: 0 0 30px; color: #49666b; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; padding: 13px 20px; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--primary); color: white; }
.button-primary:hover { background: var(--primary-dark); }
.button-secondary { border: 1px solid #a8bfbb; background: rgba(255,255,255,.65); }
.hero-note { margin: 20px 0 0; color: var(--muted); font-size: .88rem; }
.hero-panel { padding: 18px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9); border-radius: 24px; box-shadow: var(--shadow); }
.panel-label { margin: 3px 7px 10px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-panel a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 14px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 750; }
.hero-panel a:last-child { border-bottom: 0; }
.hero-panel a:hover { color: var(--primary); }

.resource-section { padding: 92px 0 104px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.section-heading > p { max-width: 460px; color: var(--muted); }
.resource-tools { padding: 18px; background: var(--warm); border-radius: var(--radius); }
.search-box { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 13px; padding: 0 15px; }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,86,97,.10); }
.search-box svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search-box input { width: 100%; border: 0; outline: 0; padding: 15px 0; color: var(--ink); background: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.filter-button { border: 1px solid #cfdcda; border-radius: 999px; padding: 8px 13px; background: white; color: #486064; cursor: pointer; font-weight: 680; font-size: .88rem; }
.filter-button:hover, .filter-button.active { background: var(--primary); border-color: var(--primary); color: white; }
.results-status { min-height: 25px; margin: 22px 0 12px; color: var(--muted); font-size: .9rem; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.resource-card { display: flex; flex-direction: column; min-height: 275px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 5px 15px rgba(18,61,68,.035); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfd2cf; }
.resource-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.category-tag { display: inline-flex; border-radius: 999px; padding: 6px 10px; background: var(--accent); color: var(--primary-dark); font-size: .74rem; font-weight: 800; }
.access-tag { color: var(--muted); font-size: .74rem; font-weight: 750; }
.resource-card h3 { margin-bottom: 10px; }
.resource-card p { margin: 0 0 22px; color: var(--muted); font-size: .94rem; }
.resource-link { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding-top: 15px; color: var(--primary); text-decoration: none; font-weight: 780; }
.resource-link:hover { color: var(--primary-dark); }
.empty-state { padding: 48px; text-align: center; background: var(--warm); border-radius: var(--radius); }

.featured-section { padding: 92px 0; background: var(--primary-dark); color: white; }
.light-heading .eyebrow { color: #98ded0; }
.pathway-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pathway-grid article { padding: 28px; border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.pathway-number { display: block; margin-bottom: 45px; color: #98ded0; font-size: .8rem; font-weight: 850; }
.pathway-grid p { color: #c7d6d7; }
.pathway-grid a { color: white; font-weight: 760; text-underline-offset: 4px; }

.about-section { padding: 96px 0; background: #f7f7f4; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; }
.about-copy { color: #536a6e; font-size: 1.02rem; }
.about-copy p:first-child { margin-top: 0; }
.updated { font-weight: 750; color: var(--ink); }
.site-footer { padding: 48px 0 22px; background: #102f35; color: #d9e4e4; }
.footer-grid { display: flex; justify-content: space-between; gap: 35px; }
.footer-brand { color: white; }
.footer-grid p { color: #9fb3b5; }
.footer-links { display: flex; align-items: flex-start; gap: 22px; }
.footer-links a { color: white; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #93aaad; font-size: .82rem; }

@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .hero { padding-top: 65px; }
  .resource-grid, .pathway-grid { grid-template-columns: repeat(2,1fr); }
  .section-heading { align-items: start; flex-direction: column; gap: 4px; }
  .menu-button { display: block; }
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 20px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .primary-nav.open { display: flex; }
  .nav-button { text-align: center; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding: 52px 0 62px; }
  .resource-section, .featured-section, .about-section { padding: 68px 0; }
  .resource-grid, .pathway-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 245px; }
  .priority-link-box { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
