:root {
  --npca-green: #00704a;
  --forest: #0b292b;
  --night: #25282a;
  --sand: #e2ddcb;
  --sunshine: #ffee9f;
  --sun: #f8b33c;
  --earth: #ac9155;
  --coral: #ec5e24;
  --wave: #35417f;
  --paper: #fffdf5;
  --white: #ffffff;
  --ink: #25282a;
  --muted: #5f6964;
  --line: rgba(37, 40, 42, 0.16);
  --shadow: 0 16px 34px rgba(11, 41, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(226, 221, 203, 0.84), rgba(226, 221, 203, 0.84)),
    repeating-linear-gradient(115deg, rgba(0, 112, 74, 0.08) 0 1px, transparent 1px 18px);
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px 14px;
  background: var(--paper);
  border-bottom: 4px solid var(--npca-green);
  box-shadow: 0 2px 18px rgba(37, 40, 42, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--forest);
  text-decoration: none;
  gap: 12px;
}

.brand-logo {
  flex: 0 0 auto;
  width: 54px;
  height: 56px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-toggle {
  display: inline-flex;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--paper);
  background: var(--forest);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
}

.section-menu {
  position: fixed;
  inset: 78px 0 auto 0;
  z-index: 19;
  display: grid;
  max-height: calc(100dvh - 78px);
  padding: 12px 16px 18px;
  overflow-y: auto;
  background: var(--forest);
  border-bottom: 4px solid var(--sun);
  box-shadow: var(--shadow);
  transform: translateY(-120%);
  transition: transform 180ms ease;
}

.section-menu.is-open {
  transform: translateY(0);
}

.section-menu a {
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  padding: 17px 6px;
  border-bottom: 1px solid rgba(255, 253, 245, 0.16);
}

main {
  min-height: 100dvh;
}

.hero {
  position: relative;
  min-height: 76dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--forest);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 41, 43, 0.18), rgba(11, 41, 43, 0.3) 34%, rgba(11, 41, 43, 0.92));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  padding: 28px 18px 38px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sunshine);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(36px, 11vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.manual-section {
  scroll-margin-top: 98px;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 40px 18px;
  border-bottom: 1px solid var(--line);
}

.manual-section h2 {
  margin: 0 0 16px;
  color: var(--npca-green);
  font-size: clamp(32px, 9vw, 50px);
  line-height: 1;
  letter-spacing: 0;
}

.manual-section h3 {
  margin: 26px 0 10px;
  color: var(--forest);
  font-size: 20px;
  line-height: 1.15;
}

.manual-section p,
.manual-section li,
.manual-section label {
  font-size: 18px;
  line-height: 1.55;
}

ul,
ol {
  padding-left: 22px;
}

li + li {
  margin-top: 10px;
}

.callout {
  margin: 24px 0;
  padding: 18px;
  background: var(--paper);
  border: 2px solid var(--sun);
  border-left: 8px solid var(--npca-green);
  border-radius: 8px;
}

.callout h3 {
  margin-top: 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.route-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.route-list li {
  position: relative;
  padding: 18px 18px 18px 58px;
  background: rgba(255, 253, 245, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-list li::before {
  content: counter(list-item);
  position: absolute;
  left: 16px;
  top: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
  background: var(--wave);
  border-radius: 50%;
}

.route-list strong,
.route-list span {
  display: block;
}

.field-guide {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.field-guide article {
  padding: 20px 18px;
  background: rgba(255, 253, 245, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.field-guide article:first-child {
  border-left: 8px solid var(--npca-green);
}

.field-guide article:last-child {
  border-left: 8px solid var(--coral);
}

.field-guide h3 {
  margin-top: 0;
}

.quick-notes-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(37, 40, 42, 0.06);
}

summary {
  min-height: 58px;
  padding: 17px 44px 17px 18px;
  color: var(--forest);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 17px;
  line-height: 1.55;
}

.materials-grid,
.app-steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.materials-grid article,
.app-steps article {
  position: relative;
  min-height: 150px;
  padding: 20px 18px;
  background: rgba(255, 253, 245, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.materials-grid h3,
.app-steps h3 {
  margin-top: 0;
}

.material-code {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
  background: var(--npca-green);
  border-radius: 50%;
}

.document-section {
  width: min(100%, 1080px);
}

.source-note {
  color: var(--muted);
  font-weight: 800;
}

.source-document {
  margin: 18px 0 0;
  padding: 20px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 8px solid var(--npca-green);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(37, 40, 42, 0.08);
}

.script-doc {
  border-left-color: var(--sun);
}

.formatted-doc h3 {
  margin: 26px 0 10px;
  padding-top: 4px;
  color: var(--npca-green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.formatted-doc h3:first-child {
  margin-top: 0;
}

.formatted-doc p {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
}

.formatted-doc strong {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.formatted-doc em {
  font-style: italic;
}

.doc-title-line {
  color: var(--forest);
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 900;
}

.doc-divider {
  color: transparent;
  height: 1px;
  margin: 26px 0 !important;
  background: linear-gradient(90deg, transparent, var(--earth), transparent);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 36px 18px 44px;
  color: var(--paper);
  text-align: center;
  background: var(--forest);
}

.site-footer img {
  width: 74px;
  height: auto;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

@media (min-width: 760px) {
  .site-header {
    padding-inline: 28px;
  }

  .brand-logo {
    width: 64px;
    height: 66px;
  }

  .section-menu {
    left: auto;
    width: 380px;
    border-left: 4px solid var(--sun);
  }

  .hero-copy {
    padding: 48px 42px 62px;
  }

  .manual-section {
    padding: 60px 28px;
  }

  .materials-grid,
  .app-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .app-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-guide {
    grid-template-columns: 1fr 1fr;
  }

  .source-document {
    padding: 32px;
  }

  .formatted-doc p {
    font-size: 18px;
  }
}
