:root {
  --ink: #12251f;
  --muted: #607069;
  --forest: #185c43;
  --forest-dark: #0d3f2e;
  --lime: #b8ed68;
  --cream: #f5f5ec;
  --paper: #fffef8;
  --line: rgba(18, 37, 31, 0.12);
  --shadow: 0 18px 50px rgba(18, 37, 31, 0.10);
  --shadow-soft: 0 8px 30px rgba(18, 37, 31, 0.07);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }

::selection { background: var(--lime); color: var(--forest-dark); }

:focus-visible {
  outline: 3px solid rgba(24, 92, 67, .32);
  outline-offset: 3px;
}

html { scroll-behavior: smooth; background: var(--cream); }

body {
  margin: 0;
  background: var(--cream) !important;
  color: var(--ink);
  font-family: 'Manrope', sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

body h1,
body h2,
body h3,
body h4 {
  color: var(--ink);
  font-family: 'DM Serif Display', serif !important;
  letter-spacing: -0.025em;
}

body p { line-height: 1.7; }
body a { text-underline-offset: .2em; }
body img { max-width: 100%; }

/* Shared legacy-page foundation */
.bg-gray-50, .bg-gray-100 { background-color: var(--cream) !important; }
.bg-white { background-color: var(--paper) !important; }
.bg-dark { background-color: var(--forest-dark) !important; }
.bg-dark h1, .bg-dark h2, .bg-dark h3,
header.bg-gradient-to-r h1, header.bg-gradient-to-r h2,
section.bg-gradient-to-r h1, section.bg-gradient-to-r h2 { color: white !important; }
.text-primary, .text-green-600, .text-green-700, .text-green-800 { color: var(--forest) !important; }
.text-secondary, .text-blue-600, .text-blue-700, .text-blue-800 { color: var(--forest-dark) !important; }
.border-gray-200, .border-gray-300 { border-color: var(--line) !important; }
.shadow, .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl { box-shadow: var(--shadow-soft) !important; }

body main {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

body main.bg-white,
body > .bg-white.rounded-xl,
body > .bg-white.rounded-2xl,
body > .bg-white.max-w-md,
body > .bg-white.max-w-lg {
  border: 1px solid var(--line);
  border-radius: 1.5rem !important;
}

body main > h1:first-child,
body main > section:first-child > h1:first-child {
  font-size: clamp(2.4rem, 5vw, 4.25rem) !important;
  line-height: 1.02;
}

input:not([type='checkbox']):not([type='radio']):not([type='file']),
select,
textarea {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid rgba(18, 37, 31, .18) !important;
  border-radius: .85rem !important;
  background: #fffefb !important;
  color: var(--ink) !important;
  padding: .78rem 1rem !important;
  box-shadow: inset 0 1px 2px rgba(18,37,31,.03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea { min-height: 8rem; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest) !important;
  box-shadow: 0 0 0 4px rgba(24, 92, 67, .1) !important;
  outline: 0;
}

label { color: var(--ink); font-weight: 700; }

button,
input[type='submit'],
input[type='button'] {
  min-height: 2.85rem;
  border-radius: 999px !important;
  font-weight: 800 !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

button:hover,
input[type='submit']:hover,
input[type='button']:hover { transform: translateY(-1px); }

.bg-primary,
.bg-green-500,
.bg-green-600,
.bg-green-700,
button.bg-blue-600,
a.bg-blue-600 {
  background-color: var(--forest) !important;
}

.hover\:bg-green-500:hover,
.hover\:bg-green-600:hover,
.hover\:bg-green-700:hover,
.hover\:bg-blue-700:hover { background-color: var(--forest-dark) !important; }

form.bg-white,
section.bg-white,
div.bg-white.rounded-lg,
div.bg-white.rounded-xl,
div.bg-white.rounded-2xl {
  border: 1px solid var(--line);
}

form.bg-white { border-radius: 1.35rem !important; box-shadow: var(--shadow-soft) !important; }

table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

thead { background: #e6ede7 !important; }
th { color: var(--forest-dark); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
th, td { border-color: var(--line) !important; padding: .9rem 1rem !important; text-align: left; }
tbody tr { transition: background .2s ease; }
tbody tr:hover { background: rgba(184, 237, 104, .09); }

.prose-page,
body main.max-w-4xl {
  margin-block: 2rem 4rem;
  padding: clamp(1.5rem, 4vw, 3.5rem) !important;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

body main.max-w-4xl h2 { margin-top: 2.25rem; color: var(--forest-dark); }
body main.max-w-4xl h1 { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }

.portal-page-title {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, var(--forest-dark), var(--forest));
  color: white;
  box-shadow: var(--shadow);
}

.portal-page-title h1,
.portal-page-title h2 { color: white; }
.portal-page-title p { color: rgba(255,255,255,.72); }

.dashboard-shell section {
  border: 1px solid var(--line);
  border-radius: 1.5rem !important;
  box-shadow: var(--shadow-soft);
}

.dashboard-shell aside {
  background: var(--forest-dark) !important;
  color: white;
}

.dashboard-shell aside a { border-radius: .75rem; }
.dashboard-shell aside a:hover { background: rgba(255,255,255,.1) !important; }

.auth-shell {
  position: relative;
  min-height: 100vh;
  padding: 2rem 1rem !important;
  background:
    radial-gradient(circle at 15% 15%, rgba(184,237,104,.2), transparent 25%),
    radial-gradient(circle at 85% 80%, rgba(24,92,67,.14), transparent 30%),
    var(--cream) !important;
}

.auth-shell::before {
  content: 'MORFEJUS  ·  BRĪVPRĀTĪGAIS DARBS LATVIJĀ';
  position: fixed;
  top: 1.25rem;
  left: 50%;
  color: var(--forest);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.auth-shell > .bg-white,
.auth-shell > form,
.auth-shell > .container {
  border: 1px solid var(--line) !important;
  border-radius: 1.5rem !important;
  background: rgba(255,254,248,.94) !important;
  box-shadow: var(--shadow) !important;
}

.auth-shell h1, .auth-shell h2 { font-size: clamp(2rem, 5vw, 2.8rem) !important; }
.auth-shell button[type='submit'], .auth-shell input[type='submit'] { width: 100%; background: var(--forest) !important; color: white !important; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-bottom: 2rem; color: var(--ink); font-weight: 800; }
.auth-brand img { width: 2.2rem; height: 2.2rem; }
.auth-kicker { display: block; margin-bottom: .5rem; text-align: center; }
.auth-intro { margin: 0 auto 1.75rem; color: var(--muted); text-align: center; }
.auth-shell .dvs-login { justify-content: center; margin-top: 1rem; padding: .65rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--cream); }

.registration-shell { min-height: 100vh; background: var(--cream) !important; }
.registration-shell > .max-w-5xl { padding-block: 3.5rem 5rem; }
.registration-shell > .max-w-5xl > h1 { max-width: 720px; margin-inline: auto; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.03; }
.registration-intro { max-width: 620px; margin: 0 auto 2.5rem; color: var(--muted); text-align: center; }
.registration-shell .role-card { position: relative; display: block; min-height: 250px; border: 1px solid var(--line); border-radius: 1.35rem !important; background: var(--paper) !important; color: var(--ink); box-shadow: var(--shadow-soft); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.registration-shell .role-card:hover { transform: translateY(-5px); border-color: rgba(24,92,67,.35); box-shadow: var(--shadow); }
.registration-shell .role-card.is-selected { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(24,92,67,.1); }
.registration-shell .role-title { display: block; margin-top: 3rem; color: var(--ink); font-family: 'DM Serif Display', serif; font-size: 1.55rem; line-height: 1.1; }
.registration-shell .role-copy { display: block; margin-top: .65rem; color: var(--muted); font-weight: 500; line-height: 1.6; }
.role-number { position: absolute; top: 1.25rem; left: 1.25rem; color: var(--forest); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.registration-shell [id^='form-'] { scroll-margin-top: 8rem; }

.dashboard-shell { background: #eef1eb !important; }
.dashboard-shell main { min-height: 70vh; }
.dashboard-shell section.bg-gradient-to-r {
  background: linear-gradient(135deg, var(--forest-dark), var(--forest)) !important;
  border: 0;
}
.dashboard-shell section.bg-gradient-to-r h1,
.dashboard-shell section.bg-gradient-to-r h2,
.dashboard-shell header.bg-gradient-to-r h1,
.dashboard-shell header.bg-gradient-to-r h2 { color: white; }
.dashboard-shell .grid > .bg-white { border: 1px solid var(--line); border-radius: 1.25rem !important; }
.dashboard-shell .rounded-full.bg-primary { box-shadow: 0 6px 18px rgba(24,92,67,.2); }

.empty-state {
  padding: 3rem 1.5rem;
  border: 1px dashed rgba(18,37,31,.22);
  border-radius: 1.25rem;
  color: var(--muted);
  text-align: center;
  background: rgba(255,255,255,.45);
}

.directory-hero {
  padding: 6rem 1.5rem 5rem;
  background:
    radial-gradient(circle at 80% 15%, rgba(184,237,104,.28), transparent 24%),
    linear-gradient(135deg, var(--forest-dark), var(--forest));
  color: white;
}
.directory-hero > div { width: min(100%, 1180px); margin: 0 auto; }
.directory-hero h1 { max-width: 800px; margin: 0; color: white; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .98; }
.directory-hero p { max-width: 650px; margin: 1.25rem 0 0; color: rgba(255,255,255,.72); font-size: 1.15rem; }
.directory-wrap { padding: 3rem 0 6rem; }
.directory-search { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--paper); box-shadow: var(--shadow-soft); }
.directory-search > div { display: flex; gap: .65rem; }
.directory-search button { padding: .75rem 1.5rem; background: var(--forest); color: white; }
.organization-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.organization-card { position: relative; display: flex; min-height: 260px; flex-direction: column; align-items: flex-start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--paper); box-shadow: 0 5px 18px rgba(18,37,31,.04); transition: transform .25s ease, box-shadow .25s ease; }
.organization-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.organization-monogram { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 2rem; border-radius: 1rem; background: #e5f2d1; color: var(--forest-dark); font-family: 'DM Serif Display', serif; font-size: 1.55rem; }
.organization-status { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--muted); font-size: .7rem; font-weight: 800; }
.organization-status::before { content: ''; display: inline-block; width: .45rem; height: .45rem; margin-right: .4rem; border-radius: 50%; background: #a7aea9; }
.organization-status.is-active { color: var(--forest); }
.organization-status.is-active::before { background: #54ad70; }
.organization-card h2 { margin: 0 0 .5rem; font-size: 1.55rem; }
.organization-card p { margin: 0; color: var(--muted); }
.organization-link { margin-top: auto; padding-top: 1.25rem; color: var(--forest); font-weight: 800; }
.org-profile-hero { position: relative; min-height: 360px; display: grid; place-items: center; overflow: hidden; background-color: var(--forest-dark); }
.org-profile-hero.relative::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(9,45,34,.85), rgba(9,45,34,.18)); pointer-events: none; }
.org-profile-hero > .relative { z-index: 1; }
.org-profile-hero h1 { color: white !important; font-size: clamp(2.7rem, 6vw, 5rem) !important; }
.org-profile-content > .bg-white { border: 1px solid var(--line); box-shadow: var(--shadow-soft) !important; }
.org-profile-content > .bg-white > h2 { font-size: 2rem; }
.org-profile-content li.bg-gray-100 { padding: 1.2rem !important; border: 1px solid var(--line); border-radius: 1rem; }

body.morfejus-site {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.morfejus-site h1,
body.morfejus-site h2,
body.morfejus-site h3,
body.morfejus-site h4 {
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.025em;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(255, 254, 248, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: .65rem;
  background: var(--lime);
  color: var(--forest-dark);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.trust-bar { background: var(--forest-dark); color: rgba(255,255,255,.72); font-size: .72rem; letter-spacing: .04em; }
.trust-bar > div { display: flex; justify-content: space-between; width: min(100% - 2.5rem, 1180px); margin: 0 auto; padding: .5rem 0; }
.trust-bar > div > span:first-child { color: var(--lime); font-weight: 800; text-transform: uppercase; }

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.03em;
}

.site-brand img { width: 2.35rem; height: 2.35rem; object-fit: contain; }
.site-brand span { font-size: 1.05rem; }
.site-brand small { display: block; color: var(--forest); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }

.site-menu a {
  border-radius: 999px;
  padding: .65rem .9rem;
  color: var(--ink);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.site-menu a:hover { background: #e8f1e8; color: var(--forest); transform: translateY(-1px); }
.site-menu .nav-cta { background: var(--forest); color: white; padding-inline: 1.2rem; }
.site-menu .nav-cta:hover { background: var(--forest-dark); color: white; }

.hero-shell {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 7rem 1.5rem 6rem;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(184, 237, 104, .34), transparent 26%),
    radial-gradient(circle at 12% 90%, rgba(255, 255, 255, .1), transparent 24%),
    linear-gradient(135deg, #0d3f2e 0%, #176146 58%, #237c56 100%);
}

.hero-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem; font-weight: 700; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--lime); }
.eyebrow::before { content: ''; width: 2.4rem; height: 1px; background: currentColor; }
.hero-shell h1 { max-width: 900px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .94; text-wrap: balance; }
.hero-shell p { max-width: 660px; margin: 1.8rem 0 2.25rem; color: rgba(255,255,255,.78); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.hero-primary, .hero-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; border-radius: 999px; padding: .9rem 1.5rem; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.hero-primary { background: var(--lime); color: var(--forest-dark); box-shadow: 0 12px 35px rgba(184, 237, 104, .22); }
.hero-secondary { border: 1px solid rgba(255,255,255,.3); color: white; }
.hero-primary:hover, .hero-secondary:hover { transform: translateY(-2px); }
.hero-secondary:hover { background: rgba(255,255,255,.1); }
.hero-note { margin-top: 4rem; display: flex; gap: 2.4rem; flex-wrap: wrap; color: rgba(255,255,255,.72); font-size: .9rem; }
.hero-note span { display: flex; align-items: center; gap: .55rem; }
.hero-note span::before { content: '✓'; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(184,237,104,.18); color: var(--lime); }

.content-section { padding: 6.5rem 1.5rem; }
.section-wrap { max-width: 1180px; margin: 0 auto; }
.section-heading { max-width: 760px; margin: 0 0 3rem; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-kicker { color: var(--forest); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-title { margin: .65rem 0 1rem; color: var(--ink); font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1.04; }
.section-copy { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.benefit-card, .stat-card {
  position: relative;
  padding: 2rem;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 5px 20px rgba(18,37,31,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.benefit-card:hover, .stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.benefit-icon { display: grid; place-items: center; width: 3.35rem; height: 3.35rem; margin-bottom: 2rem; border-radius: 1rem; background: #e9f5d4; font-size: 1.5rem; }
.benefit-card h3 { margin: 0 0 .75rem; font-size: 1.6rem; }
.benefit-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.missions-section { background: #e8eee8; }
.mission-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.mission-toolbar form { margin: 0; min-width: min(100%, 320px); }
.mission-toolbar label { display: block; margin-bottom: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.mission-toolbar select { width: 100%; min-height: 3.4rem; padding: 0 2.75rem 0 1rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--paper); color: var(--ink); box-shadow: 0 5px 20px rgba(18,37,31,.05); }
.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.mission-card { display: grid; grid-template-columns: minmax(180px, .8fr) 1.2fr; gap: 1.5rem; padding: 1rem; border-radius: 1.5rem; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(18,37,31,.06); }
.mission-card > img { width: 100%; height: 100%; min-height: 260px; max-height: none; object-fit: cover; border-radius: 1rem; }
.mission-card-body { display: flex; flex-direction: column; padding: .5rem .5rem .5rem 0; }
.mission-card .status-pill { position: static; align-self: flex-start; margin-bottom: 1rem; background: #e9f5d4; color: var(--forest-dark); }
.mission-card h3 { height: auto; margin: 0; font-size: 1.65rem; line-height: 1.1; }
.mission-actions { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1rem; }
.mission-actions .apply-btn { background: var(--forest); border-radius: 999px; }
.mission-actions .read-more-btn { font-weight: 800; color: var(--forest); }

.organization-section { background: var(--paper); }
.organization-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-list { display: grid; gap: .8rem; margin: 1.5rem 0; }
.feature-list li { padding: 1rem 1.1rem; border-radius: 1rem; background: var(--cream); color: var(--ink); }
.video-frame { border-radius: 1.6rem; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1deg); }

.stats-section { background: var(--forest-dark); color: white; }
.stats-section .section-kicker { color: var(--lime); }
.stats-section .section-title { color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: white; }
.stat-number { color: var(--lime); font-family: 'DM Serif Display', serif; font-size: 4rem; line-height: 1; }
.stat-card h3 { margin: 1rem 0 .4rem; font-size: 1.45rem; }
.stat-card p { color: rgba(255,255,255,.62); }

.site-footer { margin-top: 0; padding: 0 1.5rem; background: #092d22; color: rgba(255,255,255,.68); border: 0; }
.site-footer h2, .site-footer h4, .site-footer strong { color: white; }
.site-footer a { color: inherit; transition: color .2s ease; }
.site-footer a:hover { color: var(--lime); }
.footer-cta { display: flex; align-items: end; justify-content: space-between; gap: 3rem; width: min(100%, 1180px); margin: 0 auto; padding: 5rem 0 3.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta > div:first-child { max-width: 720px; }
.footer-cta h2 { margin: .5rem 0 .8rem; font-size: clamp(2.25rem, 5vw, 4.1rem); line-height: 1.02; }
.footer-cta p { margin: 0; font-size: 1.05rem; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-primary, .footer-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .8rem 1.2rem; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.site-footer .footer-primary { background: var(--lime); color: var(--forest-dark); }
.footer-secondary { border: 1px solid rgba(255,255,255,.25); color: white !important; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3.5rem; width: min(100%, 1180px); margin: 0 auto; padding: 3.5rem 0; }
.footer-grid h4 { margin: 0 0 1rem; font-family: 'Manrope', sans-serif !important; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: .65rem; }
.footer-brand { margin-bottom: 1.25rem; color: white !important; }
.footer-brand-block > p { max-width: 420px; }
.legal-copy { color: rgba(255,255,255,.46); font-size: .82rem; }
.social-links { display: flex; gap: .9rem; margin-top: 1rem; font-weight: 800; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 1rem; width: min(100%, 1180px); margin: 0 auto; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: .78rem; }

#modal > div { border-radius: 1.5rem; background: var(--paper); }

@media (max-width: 980px) {
  .benefit-grid, .stats-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .organization-panel { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .organization-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-shell { min-height: auto; padding: 5.5rem 1.25rem 4.5rem; }
  .hero-note { margin-top: 2.7rem; gap: 1rem; }
  .content-section { padding: 4.5rem 1.25rem; }
  .mission-toolbar { display: block; }
  .mission-toolbar form { margin-top: 1.5rem; }
  .mission-card { grid-template-columns: 1fr; }
  .mission-card > img { min-height: 220px; max-height: 260px; }
  .mission-card-body { padding: .25rem; }
  .organization-panel { grid-template-columns: 1fr; }
  .video-frame { transform: none; }
  .site-menu-mobile { padding: .75rem; border-radius: 1.25rem; background: var(--paper); box-shadow: var(--shadow); }
  .site-menu-mobile a { padding: .8rem; border-bottom: 1px solid var(--line); }
  .trust-bar-note { display: none; }
  .footer-cta { display: block; padding-top: 4rem; }
  .footer-cta-actions { margin-top: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer .footer-bottom { display: block; }
  .site-footer .footer-bottom span { display: block; margin-top: .35rem; }
  .directory-hero { padding-top: 4.5rem; }
  .directory-search { grid-template-columns: 1fr; }
  .directory-search > div { display: block; }
  .directory-search button { width: 100%; margin-top: .65rem; }
  .organization-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
