/* Home-page styles. Keep these scoped to the content between the site menu and footer. */
.nafsr-home {
  --nh-forest: #183d2c;
  --nh-deep: #102d20;
  --nh-green: #21543b;
  --nh-ink: #253329;
  --nh-muted: #48594f;
  --nh-cream: #f7f4ea;
  --nh-paper: #fffefa;
  --nh-sage: #e9eee5;
  --nh-line: #d8dfd5;
  --nh-gold: #edcd83;

  background: var(--nh-cream);
  color: var(--nh-ink);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}

.nafsr-home *,
.nafsr-home *::before,
.nafsr-home *::after {
  box-sizing: border-box;
}

.nafsr-home h1,
.nafsr-home h2,
.nafsr-home h3 {
  margin: 0;
  color: var(--nh-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.nafsr-home h1 { font-size: clamp(2.15rem, 4.9vw, 4.3rem); }
.nafsr-home h2 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); }
.nafsr-home h3 { font-size: clamp(1.25rem, 2.2vw, 1.52rem); }
.nafsr-home p { margin: 0.65rem 0 0; }

#nafsr-home :is(h1, h2, h3) {
  text-align: left;
}

.nafsr-home a {
  color: var(--nh-green);
  text-decoration: underline;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

.nafsr-home a:hover {
  color: var(--nh-deep);
  text-decoration-thickness: 0.12em;
}

.nafsr-home :is(a, summary):focus-visible,
#nafsr-site-navigation:focus-visible {
  outline: 3px solid #376345;
  outline-offset: 4px;
}

.nafsr-home .nh-shell {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.nafsr-home .nh-section {
  padding-block: clamp(2.25rem, 5.4vw, 4.15rem);
}

.nafsr-home .nh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fffefa;
  background: #12382b;
  border-bottom: 0.4rem solid #e8aa41;
}

.nafsr-home .nh-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 18rem);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  min-height: 26rem;
  padding-block: clamp(1.8rem, 4vw, 3.5rem);
}

.nafsr-home .nh-hero h1,
.nafsr-home .nh-hero h2 {
  color: #fffefa;
}

.nafsr-home .nh-hero h1 { max-width: 15ch; }

.nafsr-home .nh-kicker {
  margin: 0 0 0.55rem;
  color: var(--nh-green);
  font: 750 0.79rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nafsr-home .nh-hero .nh-kicker { color: var(--nh-gold); }

.nafsr-home .nh-intro {
  max-width: 52ch;
  margin: 0.95rem 0 1.3rem;
  font-size: clamp(1.075rem, 2vw, 1.22rem);
}

.nafsr-home .nh-member {
  display: grid;
  gap: 0.65rem;
  padding: 1.15rem;
  border: 1px solid #f5d988;
  border-radius: 0.8rem;
  background: #ffe7a3;
  color: #332816;
  box-shadow: 0 12px 28px #151d1b55;
}

.nafsr-home .nh-member h2 {
  margin-bottom: 0.15rem;
  color: #29452e;
  font-size: 1.45rem;
}

.nafsr-home .nh-member-note {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
}

.nafsr-home a.nh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  width: fit-content;
  padding: 0.56rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.32rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.nafsr-home a.nh-button:hover {
  text-decoration: underline;
}

.nafsr-home a.nh-button-gold {
  color: var(--nh-deep);
  background: var(--nh-gold);
}

.nafsr-home a.nh-button-green {
  color: #fffefa;
  background: var(--nh-green);
}

.nafsr-home a.nh-button-outline {
  width: 100%;
  color: #423019;
  border-color: #806126;
  background: #fff5d5;
}

.nafsr-home .nh-hero a:focus-visible {
  outline-color: #29452e;
}

.nafsr-home .nh-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.4rem;
}

.nafsr-home .nh-section-head p { max-width: 66ch; }

.nafsr-home .nh-archive {
  max-width: 27rem;
  padding: 0.7rem 0.9rem;
  border-left: 4px solid #bd782a;
  border-radius: 0 0.45rem 0.45rem 0;
  background: #ffedc4;
  color: #4b301a;
}

.nafsr-home .nh-archive small {
  display: block;
  color: var(--nh-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.nafsr-home .nh-grid {
  display: grid;
  align-items: start;
  gap: 1rem;
}

.nafsr-home .nh-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nafsr-home .nh-advocacy-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.nafsr-home .nh-panel {
  min-width: 0;
  border: 1px solid var(--nh-line);
  border-radius: 0.65rem;
  background: var(--nh-paper);
}

.nafsr-home .nh-document-panel h3 {
  padding: 0.95rem 1rem;
  background: var(--nh-sage);
  border-radius: 0.62rem 0.62rem 0 0;
}

.nafsr-home .nh-document-list,
.nafsr-home .nh-action-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nafsr-home .nh-document-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.25rem 0.8rem;
  padding: 0.64rem 1rem;
  border-top: 1px solid var(--nh-line);
  line-height: 1.43;
}

.nafsr-home .nh-document-list a { font-weight: 600; }

.nafsr-home time {
  color: var(--nh-muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nafsr-home .nh-band {
  border-block: 1px solid var(--nh-line);
  background: #f0f2e9;
}

.nafsr-home .nh-feature,
.nafsr-home .nh-resource-panel {
  padding: clamp(1rem, 3vw, 1.4rem);
}

.nafsr-home .nh-feature {
  border-left: 5px solid #b74e2f;
  background: #fff4e4;
}
.nafsr-home .nh-feature time { display: block; margin-top: 0.5rem; }
.nafsr-home .nh-feature > a { display: inline-block; margin-top: 0.65rem; font-weight: 700; }

.nafsr-home .nh-details {
  margin-top: 1rem;
  padding-inline: 1rem;
  border: 1px solid var(--nh-line);
  border-radius: 0.45rem;
  background: var(--nh-paper);
}

.nafsr-home .nh-details summary {
  min-height: 2.75rem;
  padding-block: 0.65rem;
  color: var(--nh-green);
  font-weight: 700;
  cursor: pointer;
}

.nafsr-home .nh-details summary:hover { text-decoration: underline; }

.nafsr-home .nh-link-list {
  margin: 0.55rem 0 0;
  padding-inline-start: 1.18rem;
}

.nafsr-home .nh-link-list li + li { margin-top: 0.38rem; }
.nafsr-home .nh-details .nh-link-list { margin-bottom: 1rem; }
.nafsr-home .nh-committee-list { margin-bottom: 1.15rem; }

.nafsr-home .nh-action-layout {
  display: grid;
  grid-template-columns: minmax(0, 25rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(0.8rem, 3.5vw, 2rem);
  border: 1px solid #e4ba67;
  border-radius: 1.05rem;
  background: linear-gradient(125deg, #fff8e8, #f7d88e);
  box-shadow: 0 6px 16px #74481715;
}

.nafsr-home .nh-action-wheel {
  display: block;
  width: 100%;
  max-width: 25rem;
  height: auto;
  margin-inline: auto;
}

.nafsr-home .nh-action-wheel polygon {
  cursor: pointer;
  pointer-events: fill;
  vector-effect: non-scaling-stroke;
}

.nafsr-home .nh-action-wheel a:is(:hover, :focus-visible) polygon {
  fill: rgb(16 45 32 / 18%);
  stroke: #fff;
  stroke-width: 3px;
  filter: drop-shadow(0 0 1.5px #102d20);
}

.nafsr-home .nh-action-topics p { margin-bottom: 0.9rem; }

.nafsr-home .nh-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.nafsr-home .nh-action-grid li { display: flex; min-width: 0; }

.nafsr-home .nh-action-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--nh-action-border, #b8cbb8);
  border-radius: 0.45rem;
  color: #213a2e;
  background: var(--nh-action-color, #f2f8ee);
  font-weight: 700;
}

.nafsr-home .nh-action-grid a:hover {
  filter: brightness(0.94);
}

.nafsr-home .nh-contact {
  max-width: 75ch;
  margin-top: 1.15rem;
}

.nafsr-home video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 0.9rem;
  border-radius: 0.4rem;
  background: var(--nh-deep);
}

.nafsr-home .nh-tax-note {
  padding-block: 1rem 1.5rem;
  border-top: 1px solid var(--nh-line);
  color: var(--nh-muted);
  font-size: 0.9rem;
}

.nafsr-home .nh-tax-note p { margin: 0; }

.nafsr-home [id],
#nafsr-site-navigation { scroll-margin-top: 1rem; }

@media (max-width: 52rem) {
  .nafsr-home .nh-grid-2,
  .nafsr-home .nh-advocacy-grid,
  .nafsr-home .nh-action-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 42rem) {
  .nafsr-home .nh-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
  }

  .nafsr-home .nh-member {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 25rem;
    padding: 0.75rem;
  }

  .nafsr-home .nh-member h2,
  .nafsr-home .nh-member-note,
  .nafsr-home .nh-member-video { grid-column: 1 / -1; }
  .nafsr-home .nh-member a.nh-button { padding-inline: 0.45rem; }
}

@media (max-width: 29rem) {
  .nafsr-home .nh-action-grid,
  .nafsr-home .nh-document-list li { grid-template-columns: minmax(0, 1fr); }
}

/* Homepage photography and section colors. */
.nafsr-home .nh-hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.nafsr-home .nh-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #09281f 0%, #0a2a20ed 22%, #0a2a20a6 52%, #102d201f 80%);
  content: "";
}

.nafsr-home .nh-hero h1 {
  max-width: 15ch;
  text-wrap: balance;
}

.nafsr-home .nh-hero .nh-intro {
  text-shadow: 0 1px 5px #071b14;
}

.nafsr-home .nh-member a.nh-button {
  width: 100%;
}

.nafsr-home .nh-member-video {
  aspect-ratio: 8 / 5;
  margin: 0;
  object-fit: contain;
}

.nafsr-home .nh-advocacy-side {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.nafsr-home .nh-advocacy-grid .nh-document-panel {
  box-shadow: 0 5px 14px #183d2c16;
}

.nafsr-home .nh-advocacy-grid > .nh-document-panel h3 {
  color: #fffdfa;
  background: #236247;
}

.nafsr-home .nh-advocacy-side .nh-document-panel h3 {
  color: #fffdfa;
  background: #2b5268;
}

.nafsr-home .nh-meadow {
  margin: 0;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #284e46;
}

.nafsr-home .nh-meadow img {
  display: block;
  width: 100%;
  height: auto;
}

.nafsr-home #employee-support {
  color: #f1fcf8;
  background: linear-gradient(115deg, #114440, #246459 64%, #1c5149);
  border: 0;
  border-top: 0.3rem solid #d8b65d;
}

.nafsr-home #employee-support .nh-section-head h2 {
  color: #fffefa;
}

.nafsr-home #employee-support .nh-section-head .nh-kicker {
  color: #ffe29a;
}

.nafsr-home #employee-support .nh-section-head a.nh-button {
  background: #f5d275;
  color: #17362d;
}

.nafsr-home #employee-support .nh-section-head a:focus-visible {
  outline-color: #fff5d5;
}

.nafsr-home #employee-support :is(.nh-panel, .nh-details) {
  color: var(--nh-ink);
}

.nafsr-home #employee-support .nh-document-panel h3 {
  background: #deeee4;
}

.nafsr-home .nh-action-grid li:nth-child(2n) {
  --nh-action-color: #eef4f8;
  --nh-action-border: #becfdc;
}

.nafsr-home .nh-action-grid li:nth-child(3n) {
  --nh-action-color: #fff1e9;
  --nh-action-border: #e4baa8;
}

.nafsr-home .nh-board-video {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.15rem;
  padding: clamp(1rem, 3vw, 1.7rem);
  border-radius: 0.8rem;
  background: linear-gradient(115deg, #71361f, #9a4d30);
  color: #fff7ee;
}

.nafsr-home .nh-board-video h3 { color: #fff7ee; }
.nafsr-home .nh-board-video .nh-kicker { color: #ffdda3; }
.nafsr-home .nh-board-video-watch {
  display: grid;
  justify-items: start;
  gap: 0.25rem;
}

.nafsr-home .nh-board-video-watch small {
  color: #ffe7ce;
  font-size: 0.875rem;
}

.nafsr-home .nh-board-video-watch a:focus-visible { outline-color: #fff7ee; }

.nafsr-home #member-resources {
  border-top: 0.3rem solid #799765;
  background: #e8eee0;
}

.nafsr-home .nh-report {
  display: grid;
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.8rem, 3vw, 1.6rem);
  margin-top: 1rem;
  padding: clamp(0.8rem, 3vw, 1.45rem);
  border: 1px solid #d2ad70;
  border-radius: 0.75rem;
  background: #fff1cd;
}

.nafsr-home .nh-report img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.16rem;
  box-shadow: 0 4px 12px #4b301a3d;
}

.nafsr-home .nh-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.nafsr-home .nh-story {
  overflow: hidden;
  box-shadow: 0 5px 14px #183d2c16;
}

.nafsr-home .nh-story-opinion { background: #fff0df; }
.nafsr-home .nh-story-legacy { background: #e8f1f3; }
.nafsr-home .nh-story-history { background: #edf1e5; }

.nafsr-home .nh-story-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: #142820;
  object-fit: contain;
}

.nafsr-home .nh-story-copy {
  padding: clamp(0.85rem, 2vw, 1.3rem);
}

@media (max-width: 52rem) {
  .nafsr-home .nh-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 42rem) {
  .nafsr-home .nh-hero-inner { min-height: 0; padding-top: 7rem; }

  .nafsr-home .nh-hero-photo {
    height: 22rem;
    object-position: 60% center;
  }

  .nafsr-home .nh-hero::before {
    background: linear-gradient(180deg, #12382b08, #12382b66 6rem, #12382b 20rem);
  }

  .nafsr-home .nh-board-video,
  .nafsr-home .nh-story-grid { grid-template-columns: minmax(0, 1fr); }

  .nafsr-home .nh-board-video {
    gap: 0.75rem;
    padding: 0.8rem;
  }

  .nafsr-home .nh-member a.nh-button { min-width: 0; }
}
