:root {
  --ink: #192026;
  --muted: #5c6872;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dce2e6;
  --teal: #0d6b6f;
  --teal-dark: #084f53;
  --copper: #b85f38;
  --marigold: #e7a72f;
  --sage: #6d8a72;
  --blue: #315f8d;
  --shadow: 0 18px 50px rgba(22, 32, 40, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(220, 226, 230, 0.8);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--teal);
  color: white;
  border-radius: var(--radius);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
}

.nav-links a {
  text-decoration: none;
  color: #33414c;
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.65rem 0.7rem;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #eef4f2;
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 0.65rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 32, 34, 0.9) 0%, rgba(10, 32, 34, 0.72) 38%, rgba(10, 32, 34, 0.16) 74%),
    linear-gradient(0deg, rgba(14, 22, 25, 0.46), rgba(14, 22, 25, 0.14));
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  align-self: center;
  padding: 5rem 0 2rem;
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--marigold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-actions,
.search-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero-actions {
  margin-top: 2rem;
  flex-wrap: wrap;
}

.button,
.search-row button,
.experience-form button {
  border: 0;
  border-radius: var(--radius);
  padding: 0.86rem 1rem;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.search-row button:hover,
.experience-form button:hover {
  transform: translateY(-1px);
}

.button-primary,
.search-row button,
.experience-form button {
  background: var(--copper);
  color: white;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-search {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 2rem;
}

.search-panel,
.lookup,
.experience-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-panel {
  padding: 1.1rem;
}

.search-panel label,
.lookup > label,
.experience-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 750;
}

.search-row {
  margin-top: 0.8rem;
}

.search-row input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: white;
}

.search-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.search-options span {
  background: #eef4f2;
  color: var(--teal-dark);
  border-radius: var(--radius);
  padding: 0.38rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.section,
.section-band {
  padding: 5.5rem 0;
}

.section-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3,
p {
  margin-top: 0;
}

.mission-grid p:last-child,
.section-heading p,
.content-stack p,
.about-layout p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-heading.narrow {
  max-width: 720px;
}

.search-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.4fr);
  gap: 1.25rem;
  align-items: start;
}

.lookup {
  padding: 1.25rem;
}

.filter-group {
  display: grid;
  gap: 0.65rem;
  border: 0;
  padding: 1.2rem 0 0;
  margin: 0;
}

.filter-group legend {
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.filter-group label,
.form-checks label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: #35424c;
  font-weight: 650;
}

.results-panel {
  min-height: 440px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.results-header h3 {
  margin: 0;
}

.results-header span {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.profile-results {
  display: grid;
  gap: 1rem;
}

.profile-card {
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fdfdfb;
}

.profile-card.positive {
  border-left-color: var(--sage);
}

.profile-card.concern {
  border-left-color: var(--copper);
}

.profile-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.profile-top h4 {
  margin: 0;
  font-size: 1.05rem;
}

.profile-top span {
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-summary {
  margin: 0.85rem 0;
  color: #394750;
}

.indicator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.indicator-row span {
  background: #eef2f5;
  color: #26343e;
  border-radius: var(--radius);
  padding: 0.36rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 750;
}

.compact-section {
  background: #f2f5f1;
  border-block: 1px solid #d9e0d8;
}

.split-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  gap: 2rem;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.policy-list,
.phase-list {
  display: grid;
  gap: 0.85rem;
}

.policy-list div,
.phase-list div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-list span,
.phase-list span {
  color: var(--muted);
}

.experience-form {
  padding: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.experience-form input,
.experience-form select,
.experience-form textarea {
  width: 100%;
  border: 1px solid #cfd8dd;
  border-radius: var(--radius);
  padding: 0.8rem;
  background: white;
  color: var(--ink);
}

.experience-form textarea {
  resize: vertical;
}

.experience-form > label,
.form-checks {
  margin-top: 1rem;
}

.form-checks {
  display: grid;
  gap: 0.65rem;
}

.experience-form button {
  margin-top: 1rem;
}

.form-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.recognition-section {
  background: #fff;
}

.recognition-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.recognition-grid article,
.resource-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
  padding: 1.2rem;
}

.recognition-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 800;
}

.recognition-grid h3 {
  margin-bottom: 0.5rem;
}

.recognition-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.phase-list {
  align-self: stretch;
}

.resources-section {
  background: #172226;
  color: white;
}

.safety-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.safety-grid article {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.safety-grid strong {
  display: block;
  color: var(--teal-dark);
  margin-bottom: 0.55rem;
}

.safety-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.policy-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: #eef4f2;
  border: 1px solid #cddbd8;
  border-radius: var(--radius);
}

.policy-callout h3 {
  margin-bottom: 0.3rem;
}

.policy-callout p {
  margin: 0;
  color: var(--muted);
}

.policy-hero {
  padding: 5rem 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 79, 83, 0.95), rgba(49, 95, 141, 0.82)),
    url("assets/educator-hero.png") center / cover;
}

.policy-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.policy-hero p:last-child {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-nav a {
  color: #33414c;
  text-decoration: none;
  font-weight: 750;
  padding: 0.55rem;
  border-radius: var(--radius);
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  background: #eef4f2;
  color: var(--teal-dark);
}

.policy-content {
  display: grid;
  gap: 1.1rem;
}

.policy-content section {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  scroll-margin-top: 96px;
}

.policy-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul,
.policy-content ol {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.policy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.policy-columns div {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.resources-section .section-kicker {
  color: #f0bd54;
}

.resources-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-grid a {
  display: grid;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.resource-grid a:hover,
.resource-grid a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.resource-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  background: #10181b;
  color: rgba(255, 255, 255, 0.72);
  padding: 1.4rem 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.5rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .mission-grid,
  .search-workspace,
  .split-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .recognition-grid,
  .resource-grid,
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .search-row button {
    width: 100%;
  }

  .section,
  .section-band {
    padding: 4rem 0;
  }

  .form-grid,
  .recognition-grid,
  .resource-grid,
  .safety-grid,
  .policy-columns {
    grid-template-columns: 1fr;
  }

  .policy-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .results-header,
  .profile-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
