@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --np-color-primary: #BF360C;
  --np-color-secondary: #E64A19;
  --np-color-accent: #1B5E20;
  --np-color-background: #FFF8E1;
  --np-color-surface: #FFFFFF;
  --np-color-text: #3E2723;
  --np-color-text-light: #795548;
  --np-color-border: #EFDFB0;
  --np-color-overlay: linear-gradient(140deg, rgba(191, 54, 12, 0.85), rgba(230, 74, 25, 0.5));
  --np-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --np-radius-card: 16px;
  --np-radius-image: 12px;
  --np-radius-pill: 50px;
  --np-section-space: 80px;
  --np-max-width: 1240px;
  --np-transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--np-color-background);
  color: var(--np-color-text);
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  border-radius: var(--np-radius-image);
}

a {
  color: var(--np-color-accent);
  text-decoration: none;
  transition: color var(--np-transition), transform var(--np-transition);
}

a:hover,
a:focus-visible {
  color: var(--np-color-secondary);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5rem;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--np-color-primary);
}

p {
  margin: 0 0 1rem;
  color: var(--np-color-text);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.np-site-shell {
  min-height: 100vh;
  overflow: clip;
}

.np-site-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at top left, rgba(230, 74, 25, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(27, 94, 32, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 248, 225, 0.98), rgba(255, 248, 225, 1));
}

.np-site-shell::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(239, 223, 176, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 223, 176, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  pointer-events: none;
}

.np-shell-width {
  width: min(calc(100% - 2rem), var(--np-max-width));
  margin: 0 auto;
}

.np-shell-width-narrow {
  width: min(calc(100% - 2rem), 960px);
  margin: 0 auto;
}

.np-section-block {
  padding: var(--np-section-space) 0;
  position: relative;
}

.np-section-block:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.np-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 225, 0.96);
  border-bottom: 1px solid rgba(239, 223, 176, 0.9);
  backdrop-filter: blur(12px);
}

.np-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.np-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--np-color-text);
}

.np-topbar-brand:hover,
.np-topbar-brand:focus-visible {
  transform: scale(1.02);
}

.np-topbar-seal {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background:
    var(--np-color-overlay),
    url('images/hero-2.jpg') center/cover;
  box-shadow: var(--np-shadow-soft);
  position: relative;
  overflow: hidden;
}

.np-topbar-seal::before,
.np-topbar-seal::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 248, 225, 0.85);
}

.np-topbar-seal::before {
  width: 20px;
  height: 20px;
  top: 10px;
  left: 11px;
}

.np-topbar-seal::after {
  width: 28px;
  height: 9px;
  bottom: 12px;
  right: 9px;
}

.np-topbar-name {
  display: grid;
  gap: 0.05rem;
}

.np-topbar-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  line-height: 1.05;
  color: var(--np-color-primary);
}

.np-topbar-tagline {
  font-size: 0.82rem;
  color: var(--np-color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.np-nav-cluster {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.np-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.np-nav-menu a {
  color: var(--np-color-text);
  font-weight: 500;
}

.np-nav-menu a:hover,
.np-nav-menu a:focus-visible,
.np-nav-menu a.np-nav-current {
  color: var(--np-color-primary);
}

.np-language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid var(--np-color-border);
  border-radius: 999px;
  background: var(--np-color-surface);
  box-shadow: var(--np-shadow-soft);
}

.np-language-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: transparent;
  color: var(--np-color-text-light);
  cursor: pointer;
  transition: transform var(--np-transition), background var(--np-transition), color var(--np-transition);
}

.np-language-toggle button:hover,
.np-language-toggle button:focus-visible,
.np-language-toggle button.np-language-active {
  background: var(--np-color-primary);
  color: #fff;
  transform: scale(1.02);
}

.np-nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--np-color-border);
  border-radius: 18px;
  background: var(--np-color-surface);
  box-shadow: var(--np-shadow-soft);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.np-nav-toggle-line {
  width: 20px;
  height: 2px;
  background: var(--np-color-primary);
  border-radius: 999px;
  position: relative;
  transition: transform var(--np-transition), background var(--np-transition);
}

.np-nav-toggle-line::before,
.np-nav-toggle-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--np-color-primary);
  border-radius: 999px;
  transition: transform var(--np-transition), top var(--np-transition), bottom var(--np-transition);
}

.np-nav-toggle-line::before {
  top: -6px;
}

.np-nav-toggle-line::after {
  bottom: -6px;
}

.np-nav-toggle[aria-expanded='true'] .np-nav-toggle-line {
  background: transparent;
}

.np-nav-toggle[aria-expanded='true'] .np-nav-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.np-nav-toggle[aria-expanded='true'] .np-nav-toggle-line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.np-button,
.np-button-secondary,
.np-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.9rem 1.45rem;
  border: 0;
  border-radius: var(--np-radius-pill);
  box-shadow: var(--np-shadow-soft);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--np-transition), box-shadow var(--np-transition), background var(--np-transition), color var(--np-transition);
}

.np-button {
  background: var(--np-color-accent);
  color: #fff;
}

.np-button:hover,
.np-button:focus-visible {
  background: #144719;
  color: #fff;
  transform: scale(1.02);
}

.np-button-secondary {
  background: var(--np-color-primary);
  color: #fff;
}

.np-button-secondary:hover,
.np-button-secondary:focus-visible {
  background: var(--np-color-secondary);
  color: #fff;
  transform: scale(1.02);
}

.np-button-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--np-color-primary);
  border: 1px solid rgba(239, 223, 176, 0.9);
}

.np-button-ghost:hover,
.np-button-ghost:focus-visible {
  background: #fff;
  transform: scale(1.02);
}

.np-page-hero {
  padding: 3rem 0 2rem;
}

.np-home-hero {
  padding: 2.5rem;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 248, 225, 0.94), rgba(255, 255, 255, 0.94)),
    url('images/hero-1.jpg') center/cover;
  border: 1px solid rgba(239, 223, 176, 0.95);
  box-shadow: var(--np-shadow-soft);
  overflow: hidden;
  position: relative;
}

.np-home-hero::before {
  content: '';
  position: absolute;
  inset: auto -5% -20% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 74, 25, 0.18), transparent 68%);
  pointer-events: none;
}

.np-home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 248, 225, 0.8) 0%, rgba(255, 248, 225, 0.4) 36%, transparent 100%);
  pointer-events: none;
}

.np-home-hero > * {
  position: relative;
  z-index: 1;
}

.np-home-hero-intro {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 2.5rem;
}

.np-home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(27, 94, 32, 0.1);
  color: var(--np-color-accent);
  font-weight: 700;
}

.np-home-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  margin-bottom: 1rem;
}

.np-home-hero-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--np-color-text-light);
}

.np-home-hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.np-home-hero-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: stretch;
}

.np-home-hero-panel,
.np-home-mission-panel {
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: var(--np-shadow-soft);
  min-height: 100%;
}

.np-home-hero-panel {
  background:
    linear-gradient(180deg, rgba(191, 54, 12, 0.08), rgba(230, 74, 25, 0.16)),
    var(--np-color-surface);
  border: 1px solid rgba(230, 74, 25, 0.16);
}

.np-home-mission-panel {
  background:
    linear-gradient(140deg, rgba(27, 94, 32, 0.08), rgba(255, 255, 255, 0.98)),
    url('images/scene-1.jpg') center/cover;
  border: 1px solid rgba(239, 223, 176, 0.92);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.np-home-hero-metrics {
  display: grid;
  gap: 1rem;
}

.np-home-hero-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
}

.np-home-hero-number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--np-color-primary);
  line-height: 1;
}

.np-home-hero-label {
  color: var(--np-color-text-light);
}

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

.np-stat-card {
  padding: 2rem 1.4rem;
  border-radius: var(--np-radius-card);
  background: var(--np-color-surface);
  border: 1px solid var(--np-color-border);
  box-shadow: var(--np-shadow-soft);
  text-align: center;
  transition: transform var(--np-transition), box-shadow var(--np-transition);
}

.np-stat-card:hover,
.np-stat-card:focus-within {
  transform: scale(1.02);
}

.np-stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--np-color-primary);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.np-stat-label {
  color: var(--np-color-text-light);
  font-weight: 500;
}

.np-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.np-section-header p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--np-color-text-light);
}

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

.np-program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--np-color-surface);
  border: 1px solid var(--np-color-border);
  box-shadow: var(--np-shadow-soft);
  transition: transform var(--np-transition), box-shadow var(--np-transition);
}

.np-program-card:hover,
.np-program-card:focus-within {
  transform: scale(1.02);
}

.np-program-media {
  min-height: 220px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.np-program-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(62, 39, 35, 0.58));
}

.np-program-icon {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  background: rgba(255, 248, 225, 0.92);
  color: var(--np-color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--np-shadow-soft);
}

.np-program-content {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.np-program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--np-color-accent);
  font-weight: 700;
}

.np-story-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.np-story-visual {
  min-height: 540px;
  border-radius: 34px;
  box-shadow: var(--np-shadow-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(62, 39, 35, 0.16)),
    url('images/community-4.jpg') center/cover;
}

.np-story-text {
  padding: 2.2rem;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 225, 0.92)),
    url('images/scene-2.jpg') center/cover;
  border: 1px solid rgba(239, 223, 176, 0.9);
  box-shadow: var(--np-shadow-soft);
}

.np-story-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.np-story-list li {
  padding-left: 1.4rem;
  position: relative;
}

.np-story-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.82rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--np-color-accent);
}

.np-testimonial-shell {
  position: relative;
  overflow: hidden;
}

.np-testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.np-testimonial-item {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 30px;
  background: var(--np-color-surface);
  border: 1px solid var(--np-color-border);
  box-shadow: var(--np-shadow-soft);
}

.np-testimonial-photo {
  width: 160px;
  height: 160px;
  border-radius: 32px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--np-shadow-soft);
}

.np-testimonial-quote {
  font-size: 1.2rem;
  color: var(--np-color-text);
}

.np-testimonial-author {
  font-weight: 700;
  color: var(--np-color-primary);
}

.np-testimonial-role {
  color: var(--np-color-text-light);
}

.np-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.np-testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(121, 85, 72, 0.28);
  cursor: pointer;
  transition: transform var(--np-transition), background var(--np-transition);
}

.np-testimonial-dot.np-is-active {
  background: var(--np-color-primary);
  transform: scale(1.2);
}

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

.np-logo-card {
  min-height: 118px;
  padding: 1.4rem;
  border-radius: 24px;
  background: var(--np-color-surface);
  border: 1px solid var(--np-color-border);
  box-shadow: var(--np-shadow-soft);
  display: grid;
  place-items: center;
  text-align: center;
  transition: transform var(--np-transition);
}

.np-logo-card:hover,
.np-logo-card:focus-within {
  transform: scale(1.02);
}

.np-logo-mark {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(191, 54, 12, 0.11), rgba(27, 94, 32, 0.12)),
    url('images/community-2.jpg') center/cover;
  display: grid;
  place-items: center;
  color: var(--np-color-primary);
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
}

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

.np-post-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--np-color-surface);
  border: 1px solid var(--np-color-border);
  box-shadow: var(--np-shadow-soft);
  transition: transform var(--np-transition);
}

.np-post-card:hover,
.np-post-card:focus-within {
  transform: scale(1.02);
}

.np-post-media {
  min-height: 220px;
  background-position: center;
  background-size: cover;
}

.np-post-content {
  padding: 1.5rem;
}

.np-post-meta {
  margin-bottom: 0.7rem;
  color: var(--np-color-text-light);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.np-cta-banner {
  padding: 3rem 2rem;
  border-radius: 32px;
  background:
    linear-gradient(140deg, rgba(191, 54, 12, 0.9), rgba(230, 74, 25, 0.78)),
    url('images/hero-3.jpg') center/cover;
  box-shadow: var(--np-shadow-soft);
  color: #fff;
  text-align: center;
}

.np-cta-banner h2,
.np-cta-banner p {
  color: #fff;
}

.np-newsletter-wrap {
  padding: 2.2rem;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 225, 0.92)),
    url('images/community-1.jpg') center/cover;
  border: 1px solid rgba(239, 223, 176, 0.92);
  box-shadow: var(--np-shadow-soft);
}

.np-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  margin-top: 1.4rem;
}

.np-newsletter-input,
.np-form-input,
.np-form-select,
.np-form-textarea {
  width: 100%;
  border: 1px solid var(--np-color-border);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--np-color-text);
  transition: border-color var(--np-transition), box-shadow var(--np-transition), transform var(--np-transition);
}

.np-newsletter-input:focus,
.np-form-input:focus,
.np-form-select:focus,
.np-form-textarea:focus {
  outline: none;
  border-color: var(--np-color-primary);
  box-shadow: 0 0 0 4px rgba(191, 54, 12, 0.12);
}

.np-page-banner {
  padding: 5rem 0;
}

.np-page-banner-panel {
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: 2.5rem;
  border-radius: 34px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--np-shadow-soft);
  position: relative;
  overflow: hidden;
}

.np-page-banner-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--np-color-overlay);
}

.np-page-banner-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.np-page-banner-copy h1,
.np-page-banner-copy p {
  color: #fff;
}

.np-about-story-grid,
.np-program-page-grid,
.np-contact-grid {
  display: grid;
  gap: 1.5rem;
}

.np-about-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.np-about-story-card,
.np-program-page-card,
.np-contact-card,
.np-team-card {
  border-radius: 24px;
  background: var(--np-color-surface);
  border: 1px solid var(--np-color-border);
  box-shadow: var(--np-shadow-soft);
  overflow: hidden;
  transition: transform var(--np-transition);
}

.np-about-story-card:hover,
.np-program-page-card:hover,
.np-contact-card:hover,
.np-team-card:hover {
  transform: scale(1.02);
}

.np-about-story-media,
.np-program-page-media,
.np-team-photo,
.np-contact-media {
  min-height: 250px;
  background-position: center;
  background-size: cover;
}

.np-about-story-content,
.np-program-page-content,
.np-contact-content,
.np-team-content {
  padding: 1.5rem;
}

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

.np-team-photo {
  min-height: 300px;
}

.np-team-role {
  color: var(--np-color-text-light);
}

.np-program-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.np-contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.np-contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.np-contact-list a,
.np-contact-list span {
  color: var(--np-color-text);
}

.np-contact-map-frame {
  min-height: 100%;
  padding: 2rem;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 225, 0.93)),
    url('images/scene-3.jpg') center/cover;
  border: 1px solid rgba(239, 223, 176, 0.92);
  box-shadow: var(--np-shadow-soft);
}

.np-footer {
  padding: 2.5rem 0;
  background: rgba(62, 39, 35, 0.98);
  color: rgba(255, 248, 225, 0.88);
}

.np-footer a,
.np-footer p,
.np-footer li {
  color: rgba(255, 248, 225, 0.88);
}

.np-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.np-footer-note {
  color: rgba(255, 248, 225, 0.66);
}

.np-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.np-visible {
  opacity: 1;
  transform: translateY(0);
}

.np-home-photo-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.np-home-photo-tile {
  min-height: 200px;
  border-radius: 24px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--np-shadow-soft);
}

.np-home-photo-tile:nth-child(1) {
  background-image: url('images/community-1.jpg');
}

.np-home-photo-tile:nth-child(2) {
  background-image: url('images/community-3.jpg');
}

.np-home-photo-tile:nth-child(3) {
  background-image: url('images/scene-2.jpg');
}

.np-home-photo-tile:nth-child(4) {
  background-image: url('images/hero-2.jpg');
}

.np-home-photo-tile:nth-child(5) {
  background-image: url('images/scene-1.jpg');
}

.np-home-photo-tile:nth-child(6) {
  background-image: url('images/hero-3.jpg');
}

.np-image-hero-1 { background-image: url('images/hero-1.jpg'); }
.np-image-hero-2 { background-image: url('images/hero-2.jpg'); }
.np-image-hero-3 { background-image: url('images/hero-3.jpg'); }
.np-image-community-1 { background-image: url('images/community-1.jpg'); }
.np-image-community-2 { background-image: url('images/community-2.jpg'); }
.np-image-community-3 { background-image: url('images/community-3.jpg'); }
.np-image-community-4 { background-image: url('images/community-4.jpg'); }
.np-image-scene-1 { background-image: url('images/scene-1.jpg'); }
.np-image-scene-2 { background-image: url('images/scene-2.jpg'); }
.np-image-scene-3 { background-image: url('images/scene-3.jpg'); }
.np-image-portrait-1 { background-image: url('images/portrait-1.jpg'); }
.np-image-portrait-2 { background-image: url('images/portrait-2.jpg'); }
.np-image-portrait-3 { background-image: url('images/portrait-3.jpg'); }
.np-image-portrait-4 { background-image: url('images/portrait-4.jpg'); }
.np-image-portrait-5 { background-image: url('images/portrait-5.jpg'); }
.np-image-portrait-6 { background-image: url('images/portrait-6.jpg'); }
.np-image-portrait-7 { background-image: url('images/portrait-7.jpg'); }
.np-image-portrait-8 { background-image: url('images/portrait-8.jpg'); }

@media (max-width: 1080px) {
  .np-home-hero-split,
  .np-story-split,
  .np-contact-grid,
  .np-footer-grid {
    grid-template-columns: 1fr;
  }

  .np-stats-grid,
  .np-logo-grid,
  .np-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .np-program-grid,
  .np-post-grid,
  .np-about-story-grid,
  .np-program-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .np-story-visual {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .np-topbar-inner {
    min-height: 76px;
  }

  .np-nav-toggle {
    display: inline-flex;
  }

  .np-nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--np-color-border);
    box-shadow: var(--np-shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--np-transition), visibility var(--np-transition), transform var(--np-transition);
  }

  .np-nav-cluster {
    position: relative;
  }

  .np-nav-cluster.np-menu-open .np-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .np-language-toggle {
    margin-left: auto;
  }

  .np-home-hero {
    padding: 1.6rem;
    border-radius: 28px;
  }

  .np-home-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.3rem);
  }

  .np-testimonial-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .np-newsletter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .np-section-block,
  .np-page-banner {
    padding: 64px 0;
  }

  .np-stats-grid,
  .np-program-grid,
  .np-post-grid,
  .np-logo-grid,
  .np-team-grid,
  .np-about-story-grid,
  .np-program-page-grid,
  .np-home-photo-mosaic {
    grid-template-columns: 1fr;
  }

  .np-home-hero-intro,
  .np-section-header {
    text-align: left;
  }

  .np-home-hero-actions {
    justify-content: flex-start;
  }

  .np-home-hero-panel,
  .np-home-mission-panel,
  .np-cta-banner,
  .np-newsletter-wrap,
  .np-story-text,
  .np-page-banner-panel,
  .np-contact-map-frame {
    padding: 1.4rem;
  }

  .np-topbar-title {
    font-size: 1.05rem;
  }

  .np-topbar-tagline {
    display: none;
  }

  .np-testimonial-photo {
    width: 120px;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
