@import url('./tokens/colors.css');
@import url('./tokens/typography.css');
@import url('./tokens/spacing.css');

/* ==========================================================================
   NWFWMD Homepage — main stylesheet
   Static export of the approved homepage design.
   Token values come from the NWFWMD Design System (css/tokens/*.css).
   ========================================================================== */

/* --- 1. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-page);
  font-family: var(--font-body);
  color: var(--text-body);
}

img { max-width: 100%; }

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); }

h1, h2, h3, h4 { margin: 0; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.nwf-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nwf-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--blue-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nwf-skip:focus { left: 0; }

@keyframes nwf-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* --- 2. Buttons --------------------------------------------------------- */
.nwf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard);
}
.nwf-btn--sm { padding: 8px 16px;  font-size: 12.5px; }
.nwf-btn--md { padding: 11px 22px; font-size: 13.5px; }
.nwf-btn--lg { padding: 15px 30px; font-size: 15px; }

.nwf-btn--primary { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.nwf-btn--primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #fff; }

.nwf-btn--secondary { background: var(--color-secondary); border-color: var(--color-secondary); color: var(--blue-900); }
.nwf-btn--secondary:hover { background: var(--color-secondary-hover); border-color: var(--color-secondary-hover); color: #fff; }

.nwf-btn--outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.nwf-btn--outline:hover { background: var(--color-primary); color: #fff; }

/* Outline on dark imagery (hero) */
.nwf-btn--outline-light { background: transparent; border-color: #fff; color: #fff; }
.nwf-btn--outline-light:hover { background: #fff; color: var(--blue-900); }

/* --- 3. Section heading ------------------------------------------------- */
.nwf-secthead__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 13px;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-secondary-hover);
  margin-bottom: 6px;
}
.nwf-secthead__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 30px;
  line-height: var(--lh-tight);
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0 0 12px;
}
.nwf-secthead__rule {
  display: block;
  width: 52px;
  height: 4px;
  background: var(--color-secondary);
  border-radius: 2px;
}
.nwf-secthead--on-dark .nwf-secthead__eyebrow { color: var(--green-400); }
.nwf-secthead--on-dark .nwf-secthead__title { color: #fff; }

/* --- 4. Badge ----------------------------------------------------------- */
.nwf-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.nwf-badge--warning { background: var(--state-warning); color: #3a2803; }
.nwf-badge--info    { background: var(--blue-100);    color: var(--blue-800); }
.nwf-badge--success { background: var(--green-050);   color: var(--green-700); }
.nwf-badge--neutral { background: var(--gray-100);    color: var(--gray-700); }
.nwf-badge--scrim   { background: rgba(11,58,94,.62); color: #fff; backdrop-filter: blur(3px); font-weight: var(--fw-semibold); }

/* --- 5. Advisory bar ---------------------------------------------------- */
.nwf-advisory {
  background: linear-gradient(90deg, var(--blue-900), var(--blue-800));
  color: #fff;
}
.nwf-advisory[hidden] { display: none; }
.nwf-advisory__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nwf-advisory__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--state-warning);
  color: #3a2803;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.nwf-advisory__text { font-size: 13.5px; line-height: 1.4; flex: 1; min-width: 0; }
.nwf-advisory__link {
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  border-bottom: 2px solid var(--green-400);
  padding-bottom: 1px;
}
.nwf-advisory__link:hover { color: var(--green-400); }
.nwf-advisory__close {
  background: transparent;
  border: none;
  color: #cfe4f3;
  cursor: pointer;
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.nwf-advisory__close:hover { color: #fff; }

/* --- 6. Header ---------------------------------------------------------- */
.nwf-utility {
  background: var(--blue-900);
  color: #cfe4f3;
  font-size: 13px;
}
.nwf-utility__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.nwf-utility__group { display: flex; gap: 18px; align-items: center; }
.nwf-utility a { color: #cfe4f3; display: inline-flex; align-items: center; gap: 6px; }
.nwf-utility a:hover { color: #fff; }
.nwf-utility__label { opacity: .8; }
.nwf-utility__social { display: flex; gap: 12px; }

.nwf-masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.nwf-masthead__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nwf-brand { display: flex; align-items: center; gap: 14px; }
.nwf-brand__seal { height: 60px; width: 60px; flex: none; }
.nwf-brand__line1 {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 19px;
  text-transform: uppercase;
  color: var(--blue-900);
  line-height: 1.05;
}
.nwf-brand__line2 {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--blue-700);
  letter-spacing: .02em;
}
.nwf-masthead__spacer { flex: 1; }
.nwf-masthead__tools { display: flex; align-items: center; gap: 12px; }

.nwf-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 14px;
  background: var(--gray-050);
}
.nwf-search__field {
  border: none !important;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 13.5px;
  width: 200px;
  color: var(--gray-900);
}
.nwf-search__submit {
  background: var(--blue-700);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  display: grid;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
}
.nwf-search__submit svg{
	margin-top: -3px;
    margin-left: -2px;
}
.nwf-search__submit:hover { background: var(--blue-800); }

.nwf-burger {
  background: var(--blue-700);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Primary navigation */
.nwf-nav { background: var(--blue-700); }
.nwf-nav__list {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0;
}
.nwf-nav__item { position: relative; }
.nwf-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 11px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.nwf-nav__link.is-current { background: var(--blue-800); box-shadow: inset 0 -4px 0 var(--green-400); }
.nwf-mobilenav a.is-current { background: rgba(255,255,255,.08); box-shadow: inset 4px 0 0 var(--green-400); }
.nwf-nav__link:hover,
.nwf-nav__item.is-open > .nwf-nav__link { background: var(--blue-800); color: #fff; }
.nwf-nav__caret { opacity: .7; }

.nwf-nav__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--green-400);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
}
.nwf-nav__item.is-open > .nwf-nav__panel {
  display: block;
  animation: nwf-fade .16s var(--ease-standard);
}
.nwf-nav__panel a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-700);
}
.nwf-nav__panel a:hover { background: var(--blue-050); color: var(--blue-700); }

/* Mobile navigation */
.nwf-mobilenav { background: var(--blue-800); padding: 8px 0; }
.nwf-mobilenav[hidden] { display: none; }
.nwf-mobilenav a.nwf-mobilenav__link {
  display: block;
  padding: 13px 24px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nwf-mobilenav__cta { padding: 16px 24px; }

/* --- 7. Hero ------------------------------------------------------------ */
.nwf-hero { position: relative; overflow: hidden; background: var(--blue-900); padding:0; }
.nwf-hero__media {
  position: relative;
  min-height: 520px;
  background-image: linear-gradient(180deg, rgba(11,58,94,.45), rgba(11,58,94,.78)),
                    url('/wp-content/uploads/2026/09/hero-banner.jpg') !important;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.nwf-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 24px 130px;
  width: 100%;
}
.nwf-hero__copy { max-width: 660px; color: #fff; }
.nwf-hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(28px, 4.2vw, 48px);
  text-transform: uppercase;
  line-height: 1.06;
  margin: 0 0 18px;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.nwf-hero__lede {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 580px;
  color: #eaf3fb;
}
.nwf-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- 8. Quick access ---------------------------------------------------- */
.nwf-quick { background: var(--blue-050); padding: 0;}
.nwf-quick__grid {
  margin-top: -52px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.nwf-quickcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--blue-700);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.nwf-quickcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nwf-quickcard--green { border-top-color: var(--green-400); }
.nwf-quickcard--water { border-top-color: var(--blue-500); }
.nwf-quickcard--sand  { border-top-color: var(--sand-400); }

.nwf-quickcard__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-050);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nwf-quickcard__icon--green { background: var(--green-050); color: var(--green-700); }
.nwf-quickcard__icon--water { background: var(--blue-050);  color: var(--blue-600); }
.nwf-quickcard__icon--sand  { background: var(--sand-100);  color: #8a6d16; }

.nwf-quickcard__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 17px;
  text-transform: uppercase;
  color: var(--text-heading);
  letter-spacing: .02em;
}
.nwf-quickcard__desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* --- 9. Featured programs ---------------------------------------------- */
.nwf-programs { background: var(--surface-subtle); padding: 72px 0; }
.nwf-programs__head { margin-bottom: 36px; }
.nwf-programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.nwf-program {
  display: block;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.nwf-program:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.nwf-program__media { position: relative; height: 170px; overflow: hidden; }
.nwf-program__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nwf-program__glyph {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(11,58,94,.6));
}
.nwf-program__body { padding: 24px; }
.nwf-program__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0 0 8px;
}
.nwf-program__desc { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); margin: 0 0 14px; }

.nwf-more {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
  white-space: nowrap;
}
.nwf-more--green { color: var(--color-secondary-hover); font-size: 12px; letter-spacing: .08em; }
.nwf-more--leaf { color: var(--green-400); }
.nwf-more--block { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; }

/* --- 10. News + events ------------------------------------------------- */
.nwf-news { background: var(--surface-page); padding: 72px 0; }
.nwf-split {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 36px;
}
.nwf-news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  gap: 16px;
}

.nwf-lead {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  background: #fff;
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.nwf-lead:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.nwf-lead__media { position: relative; height: 250px; overflow: hidden; }
.nwf-lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nwf-lead__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,58,94,.35), transparent 45%);
}
.nwf-lead__glyph {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(11,58,94,.65));
}
.nwf-lead__tags { position: absolute; top: 18px; left: 20px; display: flex; gap: 8px; }
.nwf-lead__body { padding: 24px 26px; }
.nwf-lead__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-secondary-hover);
  margin-bottom: 10px;
}
.nwf-lead__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-300); }
.nwf-lead__readtime { color: var(--text-muted); }
.nwf-lead__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 26px;
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--text-heading);
  margin: 0 0 10px;
}
.nwf-lead__excerpt { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0 0 14px; }

.nwf-newslist { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.nwf-newsitem {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border-subtle);
}
.nwf-newsitem:last-child { border-bottom: none; }
.nwf-newsitem:hover { background: var(--blue-050); }
.nwf-datestack {
  flex: 0 0 auto;
  text-align: center;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--blue-700);
}
.nwf-datestack__mon {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nwf-datestack__day { font-weight: var(--fw-bold); font-size: 26px; }
.nwf-newsitem__divider { width: 1px; align-self: stretch; background: var(--border-subtle); }
.nwf-newsitem__title {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 15.5px;
  color: var(--text-heading);
  margin: 0 0 3px;
  line-height: 1.3;
}
.nwf-newsitem__excerpt { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.45; }

/* Events panel */
.nwf-events {
  background: linear-gradient(160deg, #0b3a5e, #124b78);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nwf-events__deco {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 280px;
  opacity: .12;
}
.nwf-events__inner { position: relative; flex: 1; display: flex; flex-direction: column; }
.nwf-events__list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }

.nwf-event--featured {
  display: block;
  padding: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  transition: background var(--dur-base) var(--ease-standard);
}
.nwf-event--featured:hover { background: rgba(255,255,255,.18); }
.nwf-event__top { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.nwf-event__date {
  flex: 0 0 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--green-400);
  color: var(--blue-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nwf-event__date--light { background: rgba(255,255,255,.9); color: var(--blue-800); flex-basis: 56px; height: 56px; }
.nwf-event__mon {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
}
.nwf-event__day { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 26px; }
.nwf-event__day--sm { font-size: 24px; }
.nwf-event__flag {
  display: inline-block;
  background: rgba(169,214,239,.22);
  color: #dcefff;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 7px;
}
.nwf-event__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}
.nwf-event__desc { font-size: 13.5px; line-height: 1.55; color: #cfe4f3; margin: 0 0 14px; }
.nwf-event__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: #a9d6ef;
  margin-bottom: 12px;
}
.nwf-event__fact { display: inline-flex; align-items: center; gap: 6px; }

.nwf-event {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  transition: background var(--dur-base) var(--ease-standard);
}
.nwf-event:hover { background: rgba(255,255,255,.16); }
.nwf-event__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 5px;
}
.nwf-event__when { font-size: 12.5px; color: #a9d6ef; }
.nwf-events__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-400);
}

/* --- 11. Public notices, careers, emergency ---------------------------- */
.nwf-notices { padding: 72px 0; background: var(--blue-050); }
.nwf-notices .nwf-split { grid-template-columns: 1.55fr 1fr; gap: 44px; }
.nwf-notices__head { margin-bottom: 26px; }
.nwf-noticelist {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.nwf-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: #fff;
}
.nwf-notice:last-child { border-bottom: none; }
.nwf-notice:hover { background: var(--blue-050); }
.nwf-notice__title { flex: 1; font-size: 15px; color: var(--text-heading); font-weight: var(--fw-semibold); }
.nwf-notice__date { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

.nwf-aside { display: flex; flex-direction: column; gap: 20px; }
.nwf-careers {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
}
.nwf-careers__eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 13px;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 8px;
}
.nwf-careers__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 10px;
}
.nwf-careers__copy { font-size: 14.5px; line-height: 1.6; color: #dbeafc; margin: 0 0 20px; }

.nwf-emergency {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--state-danger);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.nwf-emergency__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--state-danger);
  margin-bottom: 8px;
}
.nwf-emergency__copy { font-size: 14px; line-height: 1.55; color: var(--text-body); margin: 0 0 14px; }

/* --- 12. Footer -------------------------------------------------------- */
.nwf-footer { background: var(--surface-footer); color: #bcd6ea; }
.nwf-footer__main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.nwf-social { display: flex; gap: 10px; }
.nwf-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.nwf-social a:hover { background: var(--green-400); color: var(--blue-900); }

.nwf-footer__actions { display: flex; gap: 16px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.nwf-footer__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.nwf-footer__action:hover { background: var(--green-400); border-color: var(--green-400); color: var(--blue-900); }

.nwf-footer__legal { border-top: 1px solid rgba(255,255,255,.12); }
.nwf-footer__legal-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8fb3cf;
}
.nwf-footer__legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nwf-footer__legal a { color: #8fb3cf; }
.nwf-footer__legal a:hover { color: var(--green-400); }

/* --- 13. Responsive ---------------------------------------------------- */
.nwf-only-md { display: none; }

@media (max-width: 1100px) {
  .nwf-quick__grid { grid-template-columns: repeat(2, 1fr); }
  .nwf-split { grid-template-columns: 1fr; }
  .nwf-notices .nwf-split { grid-template-columns: 1fr; }
  .nwf-programs__grid { grid-template-columns: repeat(2, 1fr); }
  .nwf-search__field { width: 130px; }
}

@media (max-width: 900px) {
  .nwf-hide-md { display: none !important; }
  .nwf-only-md { display: inline-flex; }
  .nwf-mobilenav.nwf-only-md { display: block; }
  .nwf-mobilenav[hidden] { display: none; }
  .nwf-programs__grid { grid-template-columns: 1fr; }
  .nwf-hero__media { min-height: 440px; }
  .nwf-hero__inner { padding: 48px 24px 110px; }
  .nwf-programs, .nwf-news, .nwf-notices { padding: 52px 0; }
  .nwf-footer__actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .nwf-quick__grid { grid-template-columns: 1fr; margin-top: -40px; }
  .nwf-brand__seal { height: 48px; width: 48px; }
  .nwf-brand__line1 { font-size: 16px; }
  .nwf-brand__line2 { font-size: 12px; }
  .nwf-lead__title { font-size: 22px; }
  .nwf-lead__media { height: 200px; }
  .nwf-notice { flex-wrap: wrap; }
  .nwf-footer__action { flex: 1 1 auto; }
  .nwf-advisory__inner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .nwf-quickcard:hover, .nwf-program:hover, .nwf-lead:hover { transform: none; }
}


/* ==========================================================================
   14. Interior pages (Permits, Environmental Resource Permits)
   ========================================================================== */

/* Page banner */
.nwf-banner {
  background-image: linear-gradient(180deg, rgba(11,58,94,.72), rgba(11,58,94,.88)),
                    url('../assets/hero-banner.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.nwf-banner--erp {
  background-image: linear-gradient(180deg, rgba(11,58,94,.72), rgba(11,58,94,.9)),
                    url('../assets/flood-protection.jpg');
}
.nwf-banner__inner { max-width: var(--container-max); margin: 0 auto; padding: 26px 24px 40px; }
.nwf-crumbs { margin-bottom: 18px; }
.nwf-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a9d6ef;
}
.nwf-crumbs a { color: #a9d6ef; }
.nwf-crumbs a:hover { color: #fff; }
.nwf-crumbs__sep { opacity: .6; }
.nwf-crumbs [aria-current="page"] { color: #fff; }
.nwf-banner__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(28px, 3.6vw, 44px);
  text-transform: uppercase;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 14px;
  max-width: 860px;
}
.nwf-banner__rule { display: block; width: 52px; height: 4px; background: var(--green-400); border-radius: 2px; margin-bottom: 18px; }
.nwf-banner__lede { font-size: 17.5px; line-height: 1.6; color: #eaf3fb; margin: 0; max-width: 740px; }
.nwf-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Page grid */
.nwf-page { padding: 56px 0 72px; }
.nwf-pagegrid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Prose */
.nwf-prose > p { font-size: 16.5px; line-height: 1.7; color: var(--text-body) !important; margin: 0 0 16px; text-wrap: pretty; }
.nwf-prose h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--text-heading) !important;
  margin: 44px 0 8px;
  line-height: 1.15;
}
.nwf-prose > h2:first-child { margin-top: 0; }
.nwf-prose .nwf-rule { display: block; width: 52px; height: 4px; background: var(--green-400); border-radius: 2px; margin-bottom: 22px; }
.nwf-prose ul { margin: 0 0 20px; padding-left: 22px; }
.nwf-prose li { font-size: 16px; line-height: 1.65; color: var(--text-body); margin-bottom: 8px; }
.nwf-prose a { border-bottom: 1px solid var(--blue-200); }

/* Callout blocks */
.nwf-callout {
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-700);
  background: var(--blue-050);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 20px;
}
.nwf-callout--green { background: var(--green-050); border-color: var(--green-200); border-left-color: var(--green-400); margin-bottom: 8px; }
.nwf-callout__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0 0 12px;
}
.nwf-callout p { font-size: 15.5px; line-height: 1.65; margin: 0 0 14px; }
.nwf-callout p:last-child { margin-bottom: 0; }
.nwf-callout ul { margin: 0 0 14px; padding-left: 20px; }
.nwf-callout li { font-size: 15.5px; }

.nwf-note {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--state-warning);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 44px;
}
.nwf-note--danger { border-left-color: var(--state-danger); margin-bottom: 20px; }
.nwf-note__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #8a6d16;
  margin-bottom: 7px;
}
.nwf-note--danger .nwf-note__label { color: var(--state-danger); }
.nwf-note p { font-size: 15px; line-height: 1.65; color: var(--text-body); margin: 0 0 10px; }
.nwf-note p:last-child { margin-bottom: 0; }

/* Document links */
.nwf-docs { display: flex; flex-wrap: wrap; gap: 12px; }
.nwf-doc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--blue-700);
}
.nwf-doc:hover { border-color: var(--blue-700); }
.nwf-doc__type { color: var(--text-muted); font-weight: var(--fw-regular); font-size: 12.5px; }

/* Permit type cards */
.nwf-typegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 48px; }
.nwf-type {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--blue-700);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.nwf-type:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nwf-type__tag {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-secondary-hover);
}
.nwf-type__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 19px;
  text-transform: uppercase;
  line-height: 1.18;
  color: var(--text-heading);
}
.nwf-type__desc { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

/* Key dates */
.nwf-dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 24px; }
.nwf-date {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--blue-700);
  border-radius: var(--radius-md);
  padding: 20px;
}
.nwf-date:nth-child(2) { border-top-color: var(--blue-500); }
.nwf-date:nth-child(3) { border-top-color: var(--green-400); }
.nwf-date__when { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 19px; color: var(--blue-700); margin-bottom: 6px; }
.nwf-date__what { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }

/* FAQ accordion */
.nwf-faq { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.nwf-faq__item { border-bottom: 1px solid var(--border-subtle); }
.nwf-faq__item:last-child { border-bottom: none; }
.nwf-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 20px 22px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-heading);
}
.nwf-faq__item.is-open .nwf-faq__q { background: var(--blue-050); }
.nwf-faq__q > span:first-child { flex: 1; }
.nwf-faq__chev {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-base) var(--ease-standard);
}
.nwf-faq__item.is-open .nwf-faq__chev { transform: rotate(180deg); }
.nwf-faq__a { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.7; color: var(--text-body); }
.nwf-faq__a[hidden] { display: none; }

.nwf-faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--blue-050);
  border-radius: var(--radius-md);
}
.nwf-faq-cta > span { flex: 1; min-width: 220px; font-size: 15px; line-height: 1.55; color: var(--text-body); }

/* Sidebar */
.nwf-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }
.nwf-sidenav {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.nwf-sidenav__head {
  background: var(--blue-900);
  color: #fff;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 14.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nwf-sidenav__item { border-bottom: 1px solid var(--border-subtle); }
.nwf-sidenav__item:last-child { border-bottom: none; }
.nwf-sidenav__item.is-current { border-left: 4px solid var(--green-400); background: var(--blue-050); }
.nwf-sidenav__row { display: flex; align-items: stretch; }
.nwf-sidenav__link {
  flex: 1;
  display: block;
  padding: 13px 16px 13px 20px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: var(--fw-semibold);
  color: var(--blue-700);
}
.nwf-sidenav__item.is-current .nwf-sidenav__link { color: var(--blue-900); }
.nwf-sidenav__toggle {
  flex: none;
  width: 44px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border-subtle);
  cursor: pointer;
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nwf-sidenav__chev { display: inline-flex; transition: transform var(--dur-base) var(--ease-standard); }
.nwf-sidenav__item.is-open .nwf-sidenav__chev { transform: rotate(180deg); }
.nwf-sidenav__sub { background: var(--gray-050); border-top: 1px solid var(--border-subtle); padding: 6px 0; }
.nwf-sidenav__sub[hidden] { display: none; }
.nwf-sidenav__sub a { display: block; padding: 9px 20px 9px 30px; font-size: 13.5px; line-height: 1.4; color: var(--gray-600); }
.nwf-sidenav__sub a:hover { color: var(--blue-700); background: var(--blue-050); }

.nwf-panel { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 22px 24px; }
.nwf-panel__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-heading);
  margin-bottom: 14px;
}
.nwf-panel__links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }

.nwf-promo { background: linear-gradient(135deg, var(--blue-800), var(--blue-700)); border-radius: var(--radius-lg); padding: 26px; color: #fff; }
.nwf-promo--deep { background: linear-gradient(160deg, #0b3a5e, #124b78); }
.nwf-promo__eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 12.5px;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 8px;
}
.nwf-promo__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 21px;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 10px;
}
.nwf-promo__copy { font-size: 14px; line-height: 1.6; color: #dbeafc; margin: 0 0 18px; }
.nwf-promo__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 19px;
  color: #fff;
}
.nwf-promo__phone:hover { color: var(--green-400); }

@media (max-width: 1100px) {
  .nwf-dates { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .nwf-pagegrid { grid-template-columns: 1fr; }
  .nwf-sidebar { position: static; order: -1; }
}
@media (max-width: 700px) {
  .nwf-typegrid { grid-template-columns: 1fr; }
  .nwf-page { padding: 40px 0 56px; }
}
