:root {
  --bg: #e5d4a8;
  --bg-soft: rgba(229, 212, 168, 0.78);
  --panel: rgba(229, 212, 168, 0.62);
  --panel-deep: rgba(229, 212, 168, 0.78);
  --ink: #1e2b2f;
  --ink-soft: rgba(30, 43, 47, 0.82);
  --line: rgba(30, 43, 47, 0.24);
  --accent: #1e2b2f;
  --accent-hover: #1e2b2f;
  --accent-soft: #1e2b2f;
  --wine: #1e2b2f;
  --gold: #c9963d;
  --white: #ffffff;
  --shadow: 0 18px 36px rgba(30, 43, 47, 0.14);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", serif;
  color: var(--ink);
  line-height: 1.45;
  background: #f5f2ec;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.0;
  background-image: radial-gradient(rgba(68, 62, 54, 0.22) 0.55px, transparent 0.55px);
  background-size: 3px 3px;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
}

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

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 236, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.brand img {
  width: 152px;
}

.menu-toggle {
  display: none;
  justify-self: end;
  border: 1px solid #beb4a4;
  background: #fff;
  color: #61574b;
  border-radius: var(--radius);
  padding: 0.44rem 0.8rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.menu-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.menu-links a {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #71695f;
  transition: color 0.18s ease;
}

.menu-links a.nav-cta {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.menu-links a:hover,
.menu-links a[aria-current="page"] {
  color: #2e2a25;
}

.menu-links a.nav-cta:hover {
  background: #ffffff;
  border-color: #b39f85;
  color: #2e2a25;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
}

.social-links a {
  width: 28px;
  height: 28px;
  border: 1px solid #b8ad9a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #665b4d;
  font-size: 0.8rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.75);
}

main {
  padding: 1rem 0 3.5rem;
}

.page-hero,
.home-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.home-hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  justify-items: center;
  position: relative;
  background:
    linear-gradient(rgba(30, 24, 18, 0.34), rgba(30, 24, 18, 0.34)),
    url("https://nationsinlove.org/wp-content/uploads/2022/10/Danny-Praying-1024x683.jpeg") center / cover;
  padding: 2rem 1.4rem;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-card {
  width: min(780px, 100%);
  text-align: center;
  background: rgba(251, 249, 243, 0.95);
  border: 1px solid #c8beaf;
  border-radius: var(--radius);
  padding: clamp(1.2rem, 4vw, 2.4rem);
  position: relative;
  z-index: 1;
}

.home-hero .hero-card {
  width: min(940px, 100%);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 1.15rem 1.2rem 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.home-hero .hero-card::before {
  content: "";
  position: absolute;
  inset: -0.35rem -0.8rem;
  background: radial-gradient(circle at center, rgba(14, 11, 9, 0.26) 0%, rgba(14, 11, 9, 0.06) 52%, rgba(14, 11, 9, 0) 76%);
  z-index: -1;
  pointer-events: none;
}

.home-hero .eyebrow {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.home-hero .hero-title-top {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
}

.home-hero .hero-title-script {
  color: #d6a86b;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.home-hero .hero-copy {
  color: #f7f1e5;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  max-width: 46ch;
}

.home-hero .btn {
  font-weight: 600;
  letter-spacing: 0.14em;
}

.home-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(236, 225, 205, 0.72);
  color: #fff;
}

.home-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.69rem;
  color: #726658;
}

.hero-title-top {
  margin-top: 0.7rem;
  display: block;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  color: #5f5447;
}

.hero-title-script {
  display: block;
  margin-top: 0.42rem;
  font-family: "Great Vibes", cursive;
  color: var(--wine);
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 400;
  line-height: 0.98;
}

.page-hero-card .hero-title-script {
  text-transform: none;
  letter-spacing: 0;
}

.hero-devotional .page-hero-card {
  width: min(820px, 100%);
}

.hero-devotional .page-hero-card p {
  color: #f3ebde;
}

.hero-copy {
  margin: 0.85rem auto 0;
  max-width: 56ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.67rem 1.08rem;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 16px rgba(22, 18, 14, 0.14);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: #ab9a80;
  color: #5f5548;
}

.btn-ghost {
  border-color: #b8aa95;
  color: #60564a;
  background: transparent;
}

.section {
  margin-top: 1.6rem;
}

.section-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1rem;
}

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

.trip-card {
  overflow: hidden;
}

.trip-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.trip-body {
  padding: 0.92rem;
}

.trip-badges {
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.trip-status,
.trip-country {
  font-family: "Inter", sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
}

.trip-status {
  background: var(--accent);
  color: var(--white, #fff);
}

.trip-country {
  background: #f0e7d7;
  color: #5f564a;
}

.trip-card h3 {
  margin-top: 0.55rem;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1rem;
  color: #5a4f42;
}

.trip-card p {
  margin-top: 0.44rem;
  color: #6b6357;
  font-size: 1rem;
}

.trip-list {
  margin-top: 0.62rem;
  display: grid;
  gap: 0.28rem;
}

.trip-list li {
  color: #645b50;
  font-size: 0.98rem;
}

.trip-cta-row {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

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

.trip-meta-card {
  padding: 0.9rem;
  text-align: center;
}

.trip-meta-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #6e6559;
}

.trip-meta-card p {
  margin-top: 0.34rem;
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: #50473c;
}

.reverse {
  grid-template-columns: 0.94fr 1.06fr;
}

.reverse > :first-child {
  order: 2;
}

.reverse > :last-child {
  order: 1;
}

.quick-link-card {
  padding: 1rem;
}

.quick-link-card h3 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1rem;
  color: #5f5246;
}

.quick-link-card p {
  margin-top: 0.45rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.quick-link-card .btn {
  margin-top: 0.8rem;
}

.story-panel {
  padding: 1.12rem;
}

.story-panel h2,
.content-panel h2,
.cta-panel h2,
.form-panel h2,
.timeline-panel h2,
.page-hero-card h1,
.page-hero-card h2 {
  margin-top: 0.25rem;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(1rem, 2.1vw, 1.4rem);
  color: #5b4f42;
}

.story-panel p,
.content-panel p,
.cta-panel p,
.form-panel p,
.timeline-panel p {
  margin-top: 0.66rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.media-panel {
  padding: 0.45rem;
}

.media-panel > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
}

.thumb-row {
  margin-top: 0.42rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.content-panel {
  padding: 1.1rem;
}

.check-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.38rem;
}

.check-list li {
  color: #645b50;
  font-size: 1rem;
  padding-left: 1.05rem;
  position: relative;
}

.check-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9f8c6a;
  position: absolute;
  left: 0;
  top: 0.56rem;
}

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

.stat-card {
  padding: 0.95rem;
  text-align: center;
}

.stat-value {
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.stat-label {
  margin-top: 0.24rem;
  font-family: "Inter", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f665b;
}

.quote-band {
  text-align: center;
  padding: 1.45rem;
  background: var(--panel-deep);
}

.quote-band p {
  font-size: 1.16rem;
  color: #645b50;
}

.quote-band strong {
  display: block;
  margin-top: 0.42rem;
  font-family: "Cinzel", serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.87rem;
  color: #5a4f42;
}

.timeline-panel {
  padding: 1.1rem;
}

.timeline {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.7rem;
}

.timeline-item {
  border: 1px solid #ddd3c2;
  background: #faf7f1;
  padding: 0.74rem;
  border-radius: 2px;
}

.timeline-item h4 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  color: #5f5346;
}

.timeline-item p {
  margin-top: 0.3rem;
  font-size: 1rem;
  color: #6c6358;
}

.cta-panel {
  padding: 1.25rem;
  text-align: center;
  background: var(--panel-deep);
}

.cta-panel .hero-actions {
  margin-top: 0.8rem;
}

.form-panel {
  padding: 1.15rem;
}

.contact-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.58rem;
}

.contact-form label {
  display: grid;
  gap: 0.25rem;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d6356;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #cbbfac;
  background: #fff;
  padding: 0.6rem 0.68rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: #3f3a33;
  border-radius: 2px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.site-footer {
  margin-top: 2.1rem;
  border-top: 1px solid var(--line);
  background: #f7f4ed;
}

.footer-grid {
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
}

.footer-grid p {
  font-size: 0.95rem;
  color: #6b6358;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b7367;
}

.footer-links a {
  color: inherit;
}

.footer-links a:hover {
  color: #2e2a25;
}

.footer-brand img {
  width: 120px;
}

.footer-right {
  text-align: right;
}

.page-hero {
  min-height: 55vh;
  display: grid;
  align-items: end;
  justify-items: center;
  position: relative;
  padding: 1.4rem;
}

.page-hero-card {
  width: min(860px, 100%);
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 1rem 1rem 0.8rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
}

.page-hero-card p {
  margin-top: 0.62rem;
  font-size: 1.18rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}


.page-hero-card .eyebrow {
  color: #f6e6c8;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-family: "Inter", sans-serif;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.75);
}



.page-hero-card h1,
.page-hero-card h2 {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.8);
  -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.5);
  font-weight: 800;
}


.page-hero-card .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(236, 225, 205, 0.72);
  color: #fff;
}

.page-hero-card .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-leadership {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://nationsinlove.org/wp-content/uploads/2023/09/Mexico-2023-NIL-1-e1732552720600-768x418.jpg") center / cover;
}

.hero-missions {
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Giving-out-groceries-and-needed-supplies-e1732562903145-768x499.jpeg") center / cover;
}

.hero-water {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Giving-a-water-filter-to-a-family-on-need-of-clean-water-768x512.jpg") center / cover;
}

.hero-contact {
  background:
    linear-gradient(rgba(34, 27, 21, 0.54), rgba(34, 27, 21, 0.54)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Mary-preaching-to-students-e1732554437957.jpeg") center / cover;
}

.hero-devotional {
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("https://static.wixstatic.com/media/264bd2_e6d5738657784be385996032a4b6827f~mv2.jpg") center / cover;
}

.hero-peru {
  background:
    linear-gradient(rgba(35, 28, 22, 0.42), rgba(35, 28, 22, 0.42)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Nations-in-Love-Missions-3-1024x576.jpg") center / cover;
}

.hero-el-salvador {
  background:
    linear-gradient(rgba(35, 28, 22, 0.42), rgba(35, 28, 22, 0.42)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Giving-a-water-filter-to-a-family-on-need-of-clean-water-768x512.jpg") center / cover;
}

.hero-kenya {
  background:
    linear-gradient(rgba(35, 28, 22, 0.42), rgba(35, 28, 22, 0.42)),
    url("https://nationsinlove.org/wp-content/uploads/2024/10/India-1-NIL-1024x576.jpg") center / cover;
}

.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(24, 20, 16, 0.15);
}

.parallax {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease;
}

.reveal,
.reveal-on-load {
  opacity: 1;
  transform: none;
}

.js .reveal,
.js .reveal-on-load {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.visible,
.js .reveal-on-load.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .js .reveal,
  .js .reveal-on-load {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .topbar-inner {
    grid-template-columns: 156px auto;
  }

  .social-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f8f4ec;
  }

  .menu-links.open {
    display: flex;
  }

  .menu-links a {
    padding: 0.83rem 1rem;
    border-top: 1px solid #e4ddcf;
  }

  .menu-links a:first-child {
    border-top: 0;
  }
}

@media (max-width: 920px) {
  .trip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trip-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-2,
  .reverse,
  .stat-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .reverse > :first-child,
  .reverse > :last-child {
    order: initial;
  }

  .footer-right {
    text-align: left;
  }

  .home-hero {
    min-height: 70vh;
  }

  .page-hero {
    min-height: 46vh;
  }
}

@media (max-width: 640px) {
  .trip-grid,
  .trip-meta-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: calc(100% - 1.2rem);
  }

  .hero-card,
  .page-hero-card,
  .story-panel,
  .content-panel,
  .timeline-panel,
  .cta-panel,
  .form-panel,
  .quick-link-card {
    padding: 0.88rem;
  }

  .story-panel p,
  .content-panel p,
  .cta-panel p,
  .timeline-panel p,
  .page-hero-card p,
  .hero-copy {
    font-size: 0.98rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

.ai-launcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  border: 1px solid #7f7160;
  background: #fffdf8;
  color: #4d443a;
  border-radius: 999px;
  padding: 0.62rem 0.92rem;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(26, 21, 16, 0.16);
  cursor: pointer;
}

.ai-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100vh;
  z-index: 310;
  background: #f7f3ea;
  border-left: 1px solid #d7cebe;
  box-shadow: -18px 0 36px rgba(24, 19, 14, 0.18);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.ai-panel.open {
  transform: translateX(0);
}

.ai-header {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #d8cfbe;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.ai-header h3 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #5e5346;
}

.ai-close {
  border: 1px solid #bcae97;
  background: #fff;
  color: #6a5f52;
  border-radius: 3px;
  padding: 0.3rem 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ai-body {
  overflow-y: auto;
  padding: 0.78rem;
  display: grid;
  gap: 0.56rem;
  align-content: start;
}

.ai-msg {
  max-width: 96%;
  border: 1px solid #d7cdbe;
  background: #fff;
  padding: 0.7rem 0.78rem;
  border-radius: 6px;
  color: #514a41;
  font-size: 1.03rem;
  line-height: 1.6;
  white-space: pre-wrap;
  opacity: 0;
  transform: translateY(8px);
  animation: aiMessageIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ai-msg.user {
  justify-self: end;
  background: #233a4d;
  border-color: #233a4d;
  color: #fff;
}

.ai-msg.bot {
  justify-self: start;
  border-left: 3px solid #c7b79f;
}

.ai-msg.bot.rich {
  line-height: 1.66;
}

.ai-msg.bot .ai-rich p {
  margin: 0;
}

.ai-msg.bot .ai-rich p + p {
  margin-top: 0.62rem;
}

.ai-msg.bot .ai-rich .ai-rich-heading {
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #5b4f42;
}

.ai-msg.bot .ai-rich ul,
.ai-msg.bot .ai-rich ol {
  margin: 0.56rem 0 0.16rem;
  padding-left: 1.18rem;
}

.ai-msg.bot .ai-rich li + li {
  margin-top: 0.26rem;
}

.ai-msg.bot .ai-rich strong {
  color: #2f2a25;
  font-weight: 700;
}

.ai-msg.bot .ai-rich code {
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.82em;
  color: #473f35;
  background: #f2ece2;
  border: 1px solid #ded3c3;
  border-radius: 3px;
  padding: 0.05rem 0.24rem;
}

.ai-msg.bot .ai-rich a {
  color: #1e425f;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.ai-msg.bot.thinking {
  color: #746a5d;
}

.ai-msg.bot.typing::after {
  content: "|";
  display: inline-block;
  margin-left: 2px;
  color: #887b68;
  animation: aiCaretBlink 0.9s steps(1, end) infinite;
}

.ai-actions {
  max-width: 92%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  opacity: 0;
  transform: translateY(8px);
  animation: aiMessageIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ai-action-btn {
  border: 1px solid #c8baa5;
  background: #fff;
  color: #61574b;
  border-radius: 999px;
  padding: 0.28rem 0.56rem;
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ai-action-btn:hover {
  transform: translateY(-1px);
  background: #fffdf8;
  border-color: #ad9b80;
}

.ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.ai-quick button {
  border: 1px solid #c5baa7;
  background: #fff;
  color: #645a4e;
  border-radius: 999px;
  padding: 0.27rem 0.55rem;
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ai-quick button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ai-form {
  border-top: 1px solid #d8cfbe;
  padding: 0.68rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.44rem;
  background: #f4efe5;
}

.ai-form input {
  border: 1px solid #cabcaa;
  background: #fff;
  border-radius: 3px;
  padding: 0.56rem 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: #3e3933;
}

.ai-form button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  padding: 0.56rem 0.72rem;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.ai-form button:disabled,
.ai-form input:disabled {
  opacity: 0.64;
  cursor: not-allowed;
}

.ai-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.42);
  z-index: 305;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ai-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

@keyframes aiMessageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aiCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .ai-launcher {
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.56rem 0.75rem;
  }

  .ai-panel {
    width: 100%;
  }
}

/* Palette Lock: Wheat + Dark + Gold + White */
:root {
  --bg: #e5d4a8;
  --bg-soft: rgba(229, 212, 168, 0.78);
  --panel: rgba(229, 212, 168, 0.62);
  --panel-deep: rgba(229, 212, 168, 0.78);
  --ink: #1e2b2f;
  --ink-soft: rgba(30, 43, 47, 0.82);
  --line: rgba(30, 43, 47, 0.24);
  --accent: #1e2b2f;
  --accent-hover: #1e2b2f;
  --accent-soft: #1e2b2f;
  --wine: #1e2b2f;
  --gold: #c9963d;
  --white: #ffffff;
  --shadow: 0 18px 36px rgba(30, 43, 47, 0.14);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 100% 18%, rgba(201, 150, 61, 0.08) 0%, rgba(201, 150, 61, 0) 40%),
    linear-gradient(180deg, var(--bg) 0%, rgba(229, 212, 168, 0.9) 100%);
}

body::before {
  opacity: 0.13;
  background-image: radial-gradient(rgba(30, 43, 47, 0.14) 0.55px, transparent 0.55px);
}

.topbar {
  background: rgba(229, 212, 168, 0.94);
}

.menu-toggle {
  border-color: var(--line);
  background: rgba(229, 212, 168, 0.84);
  color: var(--ink);
}

.menu-links a {
  color: var(--ink);
  position: relative;
  padding-bottom: 0.22rem;
}

.menu-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.24rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.menu-links a:hover,
.menu-links a[aria-current="page"] {
  color: var(--ink);
}

.menu-links a:hover::after,
.menu-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.social-links a {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(229, 212, 168, 0.34);
}

.social-links a:hover {
  background: rgba(201, 150, 61, 0.15);
}

.section-card,
.timeline-item,
.site-footer {
  background: var(--panel);
}

.home-hero,
.hero-leadership,
.hero-missions,
.hero-water,
.hero-water-filters,
.hero-contact,
.hero-devotional,
.hero-peru,
.hero-el-salvador,
.hero-kenya {
  background-position: center;
  background-size: cover;
}

.home-hero {
  background:
    linear-gradient(rgba(30, 43, 47, 0.35), rgba(30, 43, 47, 0.35)),
    url("https://nationsinlove.org/wp-content/uploads/2022/10/Danny-Praying-1024x683.jpeg") center / cover;
}

.hero-leadership {
  background:
    linear-gradient(rgba(30, 43, 47, 0.33), rgba(30, 43, 47, 0.33)),
    url("https://nationsinlove.org/wp-content/uploads/2023/09/Mexico-2023-NIL-1-e1732552720600-768x418.jpg") center / cover;
}

.hero-missions {
  background:
    linear-gradient(rgba(30, 43, 47, 0.34), rgba(30, 43, 47, 0.34)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Giving-out-groceries-and-needed-supplies-e1732562903145-768x499.jpeg") center / cover;
}

.hero-water {
  background:
    linear-gradient(rgba(30, 43, 47, 0.34), rgba(30, 43, 47, 0.34)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Giving-a-water-filter-to-a-family-on-need-of-clean-water-768x512.jpg") center / cover;
}

.hero-water-filters {
  background:
    linear-gradient(rgba(30, 43, 47, 0.34), rgba(30, 43, 47, 0.34)),
    url("./assets/clean-filtered-water.jpg") center / cover;
}

.hero-contact {
  background:
    linear-gradient(rgba(30, 43, 47, 0.36), rgba(30, 43, 47, 0.36)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Mary-preaching-to-students-e1732554437957.jpeg") center / cover;
}

.hero-devotional {
  background:
    linear-gradient(rgba(30, 43, 47, 0.36), rgba(30, 43, 47, 0.36)),
    url("https://static.wixstatic.com/media/264bd2_e6d5738657784be385996032a4b6827f~mv2.jpg") center / cover;
}

.hero-peru {
  background:
    linear-gradient(rgba(30, 43, 47, 0.34), rgba(30, 43, 47, 0.34)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Nations-in-Love-Missions-3-1024x576.jpg") center / cover;
}

.hero-el-salvador {
  background:
    linear-gradient(rgba(30, 43, 47, 0.34), rgba(30, 43, 47, 0.34)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Giving-a-water-filter-to-a-family-on-need-of-clean-water-768x512.jpg") center / cover;
}

.hero-kenya {
  background:
    linear-gradient(rgba(30, 43, 47, 0.34), rgba(30, 43, 47, 0.34)),
    url("https://nationsinlove.org/wp-content/uploads/2024/10/India-1-NIL-1024x576.jpg") center / cover;
}

.home-hero .hero-card::before {
  background: radial-gradient(circle at center, rgba(30, 43, 47, 0.26) 0%, rgba(30, 43, 47, 0.06) 52%, rgba(30, 43, 47, 0) 76%);
}

.home-hero .eyebrow,
.home-hero .hero-title-top,
.home-hero .hero-title-script,
.home-hero .hero-copy,
.page-hero-card .eyebrow,
.page-hero-card h1,
.page-hero-card h2,
.page-hero-card p,
.page-hero-card .hero-title-script {
  color: var(--white);
}

.hero-title-top,
.trip-card h3,
.trip-meta-card p,
.quick-link-card h3,
.story-panel h2,
.content-panel h2,
.cta-panel h2,
.form-panel h2,
.timeline-panel h2,
.quote-band strong,
.timeline-item h4 {
  color: var(--ink);
}

.hero-title-script {
  color: var(--ink);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--gold), 0 10px 20px rgba(30, 43, 47, 0.22);
}

.btn-secondary,
.btn-ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(201, 150, 61, 0.16);
}

.home-hero .btn-secondary,
.page-hero-card .btn-secondary {
  background: rgba(201, 150, 61, 0.2);
  border-color: var(--gold);
  color: var(--white);
}

.home-hero .btn-secondary:hover,
.page-hero-card .btn-secondary:hover {
  background: rgba(201, 150, 61, 0.3);
}

.trip-status {
  background: var(--ink);
  color: var(--white);
}

.trip-country {
  background: rgba(201, 150, 61, 0.2);
  color: var(--ink);
}

.trip-card p,
.trip-list li,
.quote-band p,
.footer-grid p,
.timeline-item p,
.stat-label,
.contact-form label,
.story-panel p,
.content-panel p,
.cta-panel p,
.form-panel p,
.timeline-panel p {
  color: var(--ink-soft);
}

.check-list li::before {
  background: var(--gold);
}

.timeline-item {
  border-color: var(--line);
  background: var(--panel-deep);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-color: var(--line);
  background: rgba(229, 212, 168, 0.4);
  color: var(--ink);
}

.ai-launcher {
  border-color: var(--gold);
  background: var(--panel);
  color: var(--ink);
}

.ai-panel {
  background: var(--bg);
  border-left-color: var(--line);
}

.ai-header {
  border-bottom-color: var(--line);
}

.ai-header h3 {
  color: var(--ink);
}

.ai-close {
  border-color: var(--line);
  background: rgba(229, 212, 168, 0.6);
  color: var(--ink);
}

.ai-msg {
  border-color: var(--line);
  background: var(--panel-deep);
  color: var(--ink);
}

.ai-msg.user {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.ai-msg.bot {
  border-left-color: var(--gold);
}

.ai-msg.bot .ai-rich .ai-rich-heading,
.ai-msg.bot .ai-rich strong,
.ai-msg.bot .ai-rich a {
  color: var(--ink);
}

.ai-msg.bot .ai-rich code {
  color: var(--ink);
  background: rgba(229, 212, 168, 0.5);
  border-color: var(--line);
}

.ai-actions .ai-action-btn,
.ai-quick button {
  border-color: var(--gold);
  background: rgba(229, 212, 168, 0.54);
  color: var(--ink);
}

.ai-action-btn:hover,
.ai-quick button:hover {
  background: rgba(201, 150, 61, 0.16);
  border-color: var(--gold);
}

.ai-form {
  border-top-color: var(--line);
  background: var(--panel-deep);
}

.ai-form input {
  border-color: var(--line);
  background: rgba(229, 212, 168, 0.46);
  color: var(--ink);
}

.ai-form button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.ai-backdrop {
  background: rgba(30, 43, 47, 0.46);
}

@media (max-width: 1080px) {
  .menu-links {
    background: var(--bg);
  }

  .menu-links a {
    border-top-color: var(--line);
  }
}

:root {
  --bg: #f5ecd2;
  --bg-soft: rgba(245, 236, 210, 0.74);
  --panel: rgba(248, 240, 219, 0.86);
  --panel-deep: rgba(252, 248, 239, 0.96);
  --line: rgba(30, 43, 47, 0.1);
  --shadow: 0 18px 40px rgba(30, 43, 47, 0.06);
}

body {
  background:
    radial-gradient(circle at 14% 0%, #fffdf7 0%, rgba(255, 253, 247, 0) 44%),
    radial-gradient(circle at 100% 18%, #faf3df 0%, rgba(250, 243, 223, 0) 48%),
    linear-gradient(180deg, #fcf7ea 0%, #f5ecd2 100%);
}

body::before {
  opacity: 0.04;
}

.topbar {
  background: rgba(250, 245, 232, 0.92);
}

.section-card,
.site-footer {
  background: var(--panel-deep);
  box-shadow: var(--shadow);
}

.timeline-item,
.quote-band,
.cta-panel,
.ai-msg,
.ai-form,
.ai-panel {
  background: var(--panel);
}

.page-hero-card .btn-secondary {
  background: rgba(248, 240, 219, 0.24);
  border-color: rgba(248, 240, 219, 0.58);
}

.btn-secondary {
  background: rgba(248, 240, 219, 0.9);
  border-color: rgba(201, 150, 61, 0.44);
}

.btn-ghost,
.trip-country,
.ai-actions .ai-action-btn,
.ai-quick button,
.ai-close {
  background: rgba(245, 236, 210, 0.54);
  border-color: rgba(201, 150, 61, 0.36);
}

.btn-secondary:hover,
.btn-ghost:hover,
.ai-action-btn:hover,
.ai-quick button:hover {
  background: rgba(245, 236, 210, 0.72);
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.ai-form input {
  background: rgba(252, 248, 239, 0.96);
}

.menu-toggle,
.ai-launcher {
  background: rgba(252, 248, 239, 0.96);
}

.menu-links {
  background: rgba(250, 245, 232, 0.96);
}

.home-hero {
  background:
    linear-gradient(rgba(30, 43, 47, 0.14), rgba(30, 43, 47, 0.14)),
    url("https://nationsinlove.org/wp-content/uploads/2022/10/Danny-Praying-1024x683.jpeg") center / cover;
}

.hero-leadership {
  background:
    linear-gradient(rgba(30, 43, 47, 0.15), rgba(30, 43, 47, 0.15)),
    url("https://nationsinlove.org/wp-content/uploads/2023/09/Mexico-2023-NIL-1-e1732552720600-768x418.jpg") center / cover;
}

.hero-missions,
.hero-water,
.hero-water-filters,
.hero-peru,
.hero-el-salvador,
.hero-kenya,
.hero-argentina,
.hero-paraguay,
.hero-brazil {
  background-blend-mode: multiply;
}

.hero-missions {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Giving-out-groceries-and-needed-supplies-e1732562903145-768x499.jpeg") center / cover;
}

.hero-water {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Giving-a-water-filter-to-a-family-on-need-of-clean-water-768x512.jpg") center / cover;
}

.hero-water-filters {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("./assets/clean-filtered-water.jpg") center / cover;
}

.hero-contact {
  background:
    linear-gradient(rgba(30, 43, 47, 0.18), rgba(30, 43, 47, 0.18)),
    url("https://nationsinlove.org/wp-content/uploads/2024/11/Mary-preaching-to-students-e1732554437957.jpeg") center / cover;
}

.hero-devotional {
  background:
    linear-gradient(rgba(30, 43, 47, 0.18), rgba(30, 43, 47, 0.18)),
    url("https://static.wixstatic.com/media/264bd2_e6d5738657784be385996032a4b6827f~mv2.jpg") center / cover;
}

.hero-peru {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("./assets/mission-countries/peru-country.jpg") center / cover;
}

.hero-el-salvador {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("./assets/mission-countries/el-salvador-country.jpg") center / cover;
}

.hero-kenya {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("./assets/mission-countries/kenya-country.jpg") center / cover;
}

.hero-argentina {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("./assets/mission-countries/argentina-country.jpg") center / cover;
}

.hero-paraguay {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("./assets/mission-countries/paraguay-country.jpg") center / cover;
}

.hero-brazil {
  background:
    linear-gradient(rgba(30, 43, 47, 0.16), rgba(30, 43, 47, 0.16)),
    url("./assets/mission-countries/brazil-country.jpg") center / cover;
}

.home-hero .hero-card::before {
  background: radial-gradient(circle at center, rgba(30, 43, 47, 0.1) 0%, rgba(30, 43, 47, 0.03) 52%, rgba(30, 43, 47, 0) 76%);
}

.page-hero::before,
.home-hero::before {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 38%, rgba(255, 255, 255, 0.12));
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(252, 248, 239, 0.96);
}

.form-status {
  margin-top: 0.9rem;
  padding: 0.78rem 0.92rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 245, 232, 0.94);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-status[data-state="success"] {
  border-color: rgba(54, 112, 79, 0.28);
  background: rgba(237, 247, 240, 0.96);
  color: #2e5b43;
}

.form-status[data-state="error"] {
  border-color: rgba(154, 99, 55, 0.28);
  background: rgba(252, 242, 232, 0.96);
  color: #7a4a22;
}

.ai-backdrop {
  background: rgba(30, 43, 47, 0.34);
}

.poverty-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.poverty-pillar-card {
  padding: 1.08rem;
}

.poverty-pillar-image {
  width: calc(100% + 2.16rem);
  margin: -1.08rem -1.08rem 0.95rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.poverty-pillar-card .check-list {
  margin-top: 0.82rem;
}

.poverty-pillar-card .btn {
  margin-top: 0.88rem;
}

.poverty-cta-panel {
  padding-block: 1.45rem;
}

@media (max-width: 920px) {
  .poverty-pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* Final polish pass: premium shared palette and solid assistant chrome */
:root {
  --bg: #e5d4a8;
  --bg-soft: rgba(229, 212, 168, 0.34);
  --panel: rgba(255, 255, 255, 0.94);
  --panel-deep: #ffffff;
  --ink: #1e2b2f;
  --ink-soft: rgba(30, 43, 47, 0.76);
  --line: rgba(201, 150, 61, 0.18);
  --shadow: 0 18px 42px rgba(30, 43, 47, 0.07);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 100% 16%, rgba(229, 212, 168, 0.18) 0%, rgba(229, 212, 168, 0) 40%),
    linear-gradient(180deg, #f6efdd 0%, #f4edd9 52%, #f3ebd6 100%);
}

body::before {
  opacity: 0.03;
}

.topbar,
.menu-links {
  background: rgba(255, 255, 255, 0.94);
}

.menu-links a,
.social-links a,
.quick-link-card h3,
.story-panel h2,
.content-panel h2,
.cta-panel h2,
.timeline-panel h2,
.quote-band strong,
.trip-card h3,
.timeline-item h4,
.trip-meta-card p,
.stat-value,
.page-hero-card h1,
.page-hero-card h2,
.ai-header h3 {
  color: var(--ink);
}

.menu-links a,
.social-links a {
  letter-spacing: 0.16em;
}

.menu-links a:hover,
.menu-links a[aria-current="page"] {
  color: var(--ink);
}

.social-links a {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(201, 150, 61, 0.48);
}

.social-links a:hover {
  background: rgba(229, 212, 168, 0.22);
}

.section-card,
.timeline-item,
.quote-band,
.cta-panel,
.site-footer,
.contact-form input,
.contact-form textarea,
.contact-form select,
.ai-form input,
.menu-toggle,
.ai-launcher {
  background: var(--panel-deep);
}

.section-card,
.timeline-item,
.quote-band,
.cta-panel,
.site-footer {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.story-panel p,
.content-panel p,
.cta-panel p,
.form-panel p,
.timeline-panel p,
.trip-card p,
.trip-list li,
.quote-band p,
.footer-grid p,
.stat-label,
.contact-form label,
.quick-link-card p,
.timeline-item p {
  color: var(--ink-soft);
}

.topbar,
.menu-toggle,
.menu-links,
.section-card,
.timeline-item,
.quote-band,
.cta-panel,
.site-footer,
.contact-form input,
.contact-form textarea,
.contact-form select,
.ai-form input {
  border-color: var(--line);
}

.quick-link-card,
.story-panel,
.content-panel,
.cta-panel,
.timeline-item,
.trip-card,
.trip-meta-card,
.stat-card,
.quote-band {
  box-shadow:
    0 18px 42px rgba(30, 43, 47, 0.07),
    0 0 0 1px rgba(201, 150, 61, 0.06);
}

.quick-link-card,
.story-panel,
.content-panel,
.cta-panel,
.timeline-item,
.trip-card,
.trip-meta-card,
.stat-card,
.quote-band,
.site-footer {
  backdrop-filter: blur(8px);
}

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(30, 43, 47, 0.16);
}

.btn-primary:hover {
  background: var(--ink);
  box-shadow:
    0 18px 34px rgba(30, 43, 47, 0.2),
    0 0 0 1px rgba(201, 150, 61, 0.32);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(201, 150, 61, 0.48);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(229, 212, 168, 0.24);
}

.home-hero .btn-secondary,
.page-hero-card .btn-secondary {
  background: rgba(201, 150, 61, 0.18);
  border-color: rgba(229, 212, 168, 0.78);
  color: var(--white);
}

.home-hero .btn-secondary:hover,
.page-hero-card .btn-secondary:hover {
  background: rgba(201, 150, 61, 0.28);
}

.hero-title-top {
  color: #e5d4a8;
}

.home-hero .hero-title-script,
.page-hero-card .hero-title-script {
  color: var(--white);
}

.trip-country,
.ai-close,
.ai-actions .ai-action-btn,
.ai-quick button,
.ai-launcher {
  background: rgba(229, 212, 168, 0.26);
  border-color: rgba(201, 150, 61, 0.42);
  color: var(--ink);
}

.trip-country,
.ai-close,
.ai-actions .ai-action-btn,
.ai-quick button,
.ai-launcher,
.btn-secondary,
.btn-ghost,
.menu-toggle {
  box-shadow: 0 10px 22px rgba(201, 150, 61, 0.08);
}

.ai-panel {
  background: #ffffff;
  border-left: 1px solid rgba(201, 150, 61, 0.22);
  box-shadow: -20px 0 48px rgba(30, 43, 47, 0.12);
}

.ai-header {
  background: rgba(229, 212, 168, 0.22);
  border-bottom: 1px solid rgba(201, 150, 61, 0.22);
}

.ai-body,
.ai-form {
  background: #ffffff;
}

.ai-msg.bot {
  background: rgba(229, 212, 168, 0.16);
  border-color: rgba(201, 150, 61, 0.2);
  color: var(--ink);
}

.ai-msg.user {
  background: #c9963d;
  border-color: #c9963d;
  color: #ffffff;
}

.ai-form {
  border-top: 1px solid rgba(201, 150, 61, 0.18);
}

.ai-form input {
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(30, 43, 47, 0.04);
}

.ai-form button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.ai-backdrop {
  background: rgba(30, 43, 47, 0.36);
}

/* Gold integration pass */
body {
  background:
    radial-gradient(circle at 14% 8%, rgba(201, 150, 61, 0.14) 0%, rgba(201, 150, 61, 0) 24%),
    radial-gradient(circle at 100% 16%, rgba(229, 212, 168, 0.18) 0%, rgba(229, 212, 168, 0) 38%),
    linear-gradient(180deg, #f5efde 0%, #f4edd9 50%, #f3ecd8 100%);
}

.topbar {
  border-bottom-color: rgba(201, 150, 61, 0.22);
  box-shadow: 0 10px 30px rgba(201, 150, 61, 0.08);
}

.menu-links a::after {
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 150, 61, 0), #c9963d 20%, #c9963d 80%, rgba(201, 150, 61, 0));
}

.section-card,
.timeline-item,
.quote-band,
.cta-panel,
.trip-card,
.trip-meta-card,
.stat-card,
.site-footer {
  background:
    linear-gradient(180deg, rgba(201, 150, 61, 0.1) 0%, rgba(255, 255, 255, 0.98) 18%, #ffffff 100%);
  box-shadow:
    0 18px 42px rgba(30, 43, 47, 0.07),
    0 0 0 1px rgba(201, 150, 61, 0.1);
}

.quote-band,
.cta-panel {
  background:
    linear-gradient(180deg, rgba(201, 150, 61, 0.14) 0%, rgba(255, 255, 255, 0.98) 22%, #ffffff 100%);
}

.story-panel .eyebrow,
.content-panel .eyebrow,
.cta-panel .eyebrow,
.form-panel .eyebrow,
.timeline-panel .eyebrow,
.quick-link-card .eyebrow,
.trip-card .eyebrow {
  color: #c9963d;
}

.btn-secondary,
.btn-ghost,
.trip-country,
.ai-close,
.ai-actions .ai-action-btn,
.ai-quick button,
.ai-launcher {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.14) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.btn-secondary:hover,
.btn-ghost:hover,
.ai-action-btn:hover,
.ai-quick button:hover {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.2) 0%, rgba(229, 212, 168, 0.2) 100%);
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.ai-form input {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.08) 0%, #ffffff 100%);
}

.ai-header {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.18) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.ai-msg.bot {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.12) 0%, rgba(255, 255, 255, 0.98) 100%);
}

/* Warmth pass */
:root {
  --panel: rgba(255, 250, 241, 0.96);
  --panel-deep: #fffaf1;
  --line: rgba(201, 150, 61, 0.22);
  --shadow: 0 18px 42px rgba(145, 110, 44, 0.09);
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(201, 150, 61, 0.18) 0%, rgba(201, 150, 61, 0) 26%),
    radial-gradient(circle at 100% 16%, rgba(229, 212, 168, 0.24) 0%, rgba(229, 212, 168, 0) 40%),
    linear-gradient(180deg, #f1e7cf 0%, #efe5cc 48%, #eee2c7 100%);
}

.topbar,
.menu-links {
  background: rgba(255, 248, 235, 0.95);
}

.topbar {
  border-bottom-color: rgba(201, 150, 61, 0.24);
  box-shadow: 0 12px 30px rgba(201, 150, 61, 0.1);
}

.section-card,
.timeline-item,
.quote-band,
.cta-panel,
.trip-card,
.trip-meta-card,
.stat-card,
.site-footer {
  background: #fffaf1;
  border-color: rgba(201, 150, 61, 0.18);
  box-shadow:
    0 20px 44px rgba(145, 110, 44, 0.09),
    0 0 0 1px rgba(201, 150, 61, 0.08);
}

.timeline-item,
.trip-meta-card {
  background: #fffaf3;
}

.quote-band,
.cta-panel,
.story-panel,
.content-panel,
.timeline-panel {
  background: #fff9ef;
}

.menu-toggle,
.contact-form input,
.contact-form textarea,
.contact-form select,
.ai-form input {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.12) 0%, #fffaf1 100%);
}

.btn-secondary,
.btn-ghost,
.trip-country,
.ai-close,
.ai-actions .ai-action-btn,
.ai-quick button,
.ai-launcher {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.2) 0%, rgba(255, 248, 235, 0.96) 100%);
}

.btn-secondary:hover,
.btn-ghost:hover,
.ai-action-btn:hover,
.ai-quick button:hover {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.26) 0%, rgba(229, 212, 168, 0.28) 100%);
}

.social-links a {
  background: rgba(255, 248, 235, 0.88);
}

.site-footer {
  background: #fff8ed;
}

.ai-panel,
.ai-body,
.ai-form {
  background: #fff8ee;
}

.ai-header {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.22) 0%, rgba(255, 248, 235, 0.98) 100%);
}

.ai-msg.bot {
  background: linear-gradient(180deg, rgba(201, 150, 61, 0.16) 0%, rgba(255, 250, 241, 0.99) 100%);
}

/* Depth pass */
:root {
  --line: rgba(201, 150, 61, 0.26);
  --shadow: 0 24px 54px rgba(126, 94, 34, 0.12);
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(201, 150, 61, 0.2) 0%, rgba(201, 150, 61, 0) 26%),
    radial-gradient(circle at 100% 16%, rgba(229, 212, 168, 0.28) 0%, rgba(229, 212, 168, 0) 40%),
    linear-gradient(180deg, #eee1be 0%, #ebddb8 48%, #e7d7af 100%);
}

.section-card,
.timeline-item,
.quote-band,
.cta-panel,
.trip-card,
.trip-meta-card,
.stat-card,
.site-footer {
  box-shadow:
    0 24px 54px rgba(126, 94, 34, 0.12),
    0 0 0 1px rgba(201, 150, 61, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.quick-link-card,
.story-panel,
.content-panel,
.timeline-panel,
.cta-panel,
.quote-band,
.trip-card,
.trip-meta-card,
.stat-card {
  position: relative;
  overflow: hidden;
}

.quick-link-card::before,
.story-panel::before,
.content-panel::before,
.timeline-panel::before,
.cta-panel::before,
.quote-band::before,
.trip-card::before,
.trip-meta-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(201, 150, 61, 0) 0%, rgba(201, 150, 61, 0.72) 16%, rgba(229, 212, 168, 0.95) 50%, rgba(201, 150, 61, 0.72) 84%, rgba(201, 150, 61, 0) 100%);
  opacity: 0.82;
  pointer-events: none;
}

.story-panel .eyebrow,
.content-panel .eyebrow,
.cta-panel .eyebrow,
.form-panel .eyebrow,
.timeline-panel .eyebrow,
.quick-link-card .eyebrow,
.trip-card .eyebrow {
  color: #be8730;
}

.topbar {
  box-shadow: 0 14px 34px rgba(201, 150, 61, 0.12);
}

/* Final direction: warm editorial */
:root {
  --bg: #e6d0a0;
  --bg-soft: rgba(230, 208, 160, 0.34);
  --panel: #fbf3e4;
  --panel-deep: #fff8ec;
  --ink: #223137;
  --ink-soft: rgba(34, 49, 55, 0.76);
  --gold: #b8842f;
  --line: rgba(184, 132, 47, 0.24);
  --shadow: 0 26px 62px rgba(103, 77, 28, 0.14);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(184, 132, 47, 0.22) 0%, rgba(184, 132, 47, 0) 24%),
    radial-gradient(circle at 100% 12%, rgba(246, 233, 202, 0.34) 0%, rgba(246, 233, 202, 0) 34%),
    linear-gradient(180deg, #ecddb8 0%, #e6d09f 54%, #dcc08d 100%);
}

body::before {
  opacity: 0.04;
}

.topbar,
.menu-links {
  background: rgba(247, 237, 215, 0.94);
  border-color: var(--line);
}

.topbar {
  box-shadow: 0 14px 34px rgba(184, 132, 47, 0.14);
}

.menu-links a,
.social-links a,
.quick-link-card h3,
.story-panel h2,
.content-panel h2,
.cta-panel h2,
.timeline-panel h2,
.quote-band strong,
.trip-card h3,
.timeline-item h4,
.trip-meta-card p,
.stat-value,
.page-hero-card h1,
.page-hero-card h2,
.ai-header h3 {
  color: var(--ink);
}

.story-panel p,
.content-panel p,
.cta-panel p,
.form-panel p,
.timeline-panel p,
.trip-card p,
.trip-list li,
.quote-band p,
.footer-grid p,
.stat-label,
.contact-form label,
.quick-link-card p,
.timeline-item p {
  color: var(--ink-soft);
}

.section-card,
.timeline-item,
.quote-band,
.cta-panel,
.trip-card,
.trip-meta-card,
.stat-card,
.site-footer {
  background: var(--panel-deep);
  border-color: var(--line);
  box-shadow:
    0 26px 62px rgba(103, 77, 28, 0.14),
    0 0 0 1px rgba(184, 132, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.story-panel,
.content-panel,
.timeline-panel,
.cta-panel,
.quote-band {
  background: #faf0dd;
}

.timeline-item,
.trip-meta-card,
.stat-card {
  background: #fff6e7;
}

.quick-link-card,
.story-panel,
.content-panel,
.timeline-panel,
.cta-panel,
.quote-band,
.trip-card,
.trip-meta-card,
.stat-card {
  position: relative;
  overflow: hidden;
}

.quick-link-card::before,
.story-panel::before,
.content-panel::before,
.timeline-panel::before,
.cta-panel::before,
.quote-band::before,
.trip-card::before,
.trip-meta-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(184, 132, 47, 0) 0%, rgba(184, 132, 47, 0.52) 18%, rgba(234, 214, 170, 0.9) 50%, rgba(184, 132, 47, 0.52) 82%, rgba(184, 132, 47, 0) 100%);
  opacity: 0.72;
  pointer-events: none;
}

.story-panel .eyebrow,
.content-panel .eyebrow,
.cta-panel .eyebrow,
.form-panel .eyebrow,
.timeline-panel .eyebrow,
.quick-link-card .eyebrow,
.trip-card .eyebrow,
.page-hero-card .eyebrow {
  color: #b8842f;
}

.menu-links a::after {
  height: 2px;
  background: linear-gradient(90deg, rgba(184, 132, 47, 0) 0%, #b8842f 22%, #b8842f 78%, rgba(184, 132, 47, 0) 100%);
}

.social-links a {
  background: rgba(252, 245, 229, 0.92);
  border-color: rgba(184, 132, 47, 0.42);
  color: var(--ink);
}

.social-links a:hover {
  background: rgba(230, 208, 160, 0.28);
}

.btn-primary {
  background: #223137;
  border-color: #223137;
  color: #fffdf9;
  box-shadow: 0 16px 34px rgba(34, 49, 55, 0.2);
}

.btn-primary:hover {
  background: #223137;
  box-shadow:
    0 18px 38px rgba(34, 49, 55, 0.24),
    0 0 0 1px rgba(184, 132, 47, 0.3);
}

.btn-secondary,
.btn-ghost,
.trip-country,
.ai-close,
.ai-actions .ai-action-btn,
.ai-quick button,
.ai-launcher,
.menu-toggle {
  background: #f5ead1;
  border-color: rgba(184, 132, 47, 0.48);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(184, 132, 47, 0.08);
}

.btn-secondary:hover,
.btn-ghost:hover,
.ai-action-btn:hover,
.ai-quick button:hover {
  background: #efdfb8;
}

.home-hero .btn-secondary,
.page-hero-card .btn-secondary {
  background: rgba(184, 132, 47, 0.24);
  border-color: rgba(236, 221, 184, 0.84);
  color: #fffdf8;
}

.home-hero .btn-secondary:hover,
.page-hero-card .btn-secondary:hover {
  background: rgba(184, 132, 47, 0.34);
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.ai-form input {
  background: #fff9ee;
  border-color: rgba(184, 132, 47, 0.22);
  color: var(--ink);
}

.site-footer {
  background: #f8ecce;
}

.ai-panel,
.ai-body,
.ai-form {
  background: #f9eed6;
}

.ai-header {
  background: #f2e2bc;
  border-bottom-color: rgba(184, 132, 47, 0.22);
}

.ai-msg.bot {
  background: #fff7e9;
  border-color: rgba(184, 132, 47, 0.18);
  color: var(--ink);
}

.ai-msg.user {
  background: #c9963d;
  border-color: #c9963d;
  color: #fffdf8;
}

/* Final direction: light wheat editorial */
:root {
  --bg: #e5d4a8;
  --bg-soft: rgba(229, 212, 168, 0.24);
  --panel: #f8f3e9;
  --panel-deep: #fdf9f0;
  --ink: #223137;
  --ink-soft: rgba(34, 49, 55, 0.72);
  --gold: #c9963d;
  --line: rgba(201, 150, 61, 0.2);
  --shadow: 0 20px 46px rgba(121, 93, 40, 0.08);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 100% 16%, rgba(229, 212, 168, 0.18) 0%, rgba(229, 212, 168, 0) 36%),
    linear-gradient(180deg, #f5f0e6 0%, #eee6d6 50%, #e5d4a8 100%);
}

.topbar,
.menu-links {
  background: rgba(250, 246, 238, 0.94);
  border-color: var(--line);
}

.topbar {
  box-shadow: 0 10px 24px rgba(201, 150, 61, 0.08);
}

.section-card,
.timeline-item,
.quote-band,
.cta-panel,
.trip-card,
.trip-meta-card,
.stat-card,
.site-footer {
  background: var(--panel-deep);
  border-color: var(--line);
  box-shadow:
    0 22px 52px rgba(121, 93, 40, 0.1),
    0 0 0 1px rgba(201, 150, 61, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.story-panel,
.content-panel,
.timeline-panel,
.cta-panel,
.quote-band {
  background: #fcf7ec;
}

.timeline-item,
.trip-meta-card,
.stat-card {
  background: #fdf9f0;
}

.quick-link-card::before,
.story-panel::before,
.content-panel::before,
.timeline-panel::before,
.cta-panel::before,
.quote-band::before,
.trip-card::before,
.trip-meta-card::before,
.stat-card::before {
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 150, 61, 0) 0%, rgba(201, 150, 61, 0.42) 18%, rgba(229, 212, 168, 0.86) 50%, rgba(201, 150, 61, 0.42) 82%, rgba(201, 150, 61, 0) 100%);
  opacity: 0.58;
}

.story-panel .eyebrow,
.content-panel .eyebrow,
.cta-panel .eyebrow,
.form-panel .eyebrow,
.timeline-panel .eyebrow,
.quick-link-card .eyebrow,
.trip-card .eyebrow,
.page-hero-card .eyebrow {
  color: #c9963d;
}

.menu-links a::after {
  background: linear-gradient(90deg, rgba(201, 150, 61, 0) 0%, #c9963d 24%, #c9963d 76%, rgba(201, 150, 61, 0) 100%);
}

.social-links a {
  background: rgba(252, 249, 242, 0.92);
  border-color: rgba(201, 150, 61, 0.38);
}

.social-links a:hover {
  background: rgba(229, 212, 168, 0.26);
}

.btn-secondary,
.btn-ghost,
.trip-country,
.ai-close,
.ai-actions .ai-action-btn,
.ai-quick button,
.ai-launcher,
.menu-toggle {
  background: #f6edd8;
  border-color: rgba(201, 150, 61, 0.42);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(201, 150, 61, 0.06);
}

.btn-secondary:hover,
.btn-ghost:hover,
.ai-action-btn:hover,
.ai-quick button:hover {
  background: #f0e3c1;
}

.home-hero .btn-secondary,
.page-hero-card .btn-secondary {
  background: rgba(201, 150, 61, 0.2);
  border-color: rgba(229, 212, 168, 0.78);
}

.home-hero .btn-secondary:hover,
.page-hero-card .btn-secondary:hover {
  background: rgba(201, 150, 61, 0.28);
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.ai-form input {
  background: #fffaf1;
  border-color: rgba(201, 150, 61, 0.22);
}

.site-footer {
  background: #faf4e7;
}

.ai-panel,
.ai-body,
.ai-form {
  background: #f9f1e1;
}

.ai-header {
  background: #f3e7c8;
}

.ai-msg.bot {
  background: #fff9ee;
  border-color: rgba(201, 150, 61, 0.18);
}

.poverty-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 1rem;
  align-items: stretch;
}

.poverty-feature-card {
  padding: clamp(1.45rem, 2.8vw, 2.1rem);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.poverty-feature-card h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
}

.poverty-feature-copy {
  max-width: 42rem;
  font-size: 1.18rem;
}

.poverty-feature-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.poverty-feature-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.74rem;
  border: 1px solid rgba(201, 150, 61, 0.24);
  background: rgba(245, 234, 209, 0.86);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poverty-side-card {
  padding: 1.3rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

.poverty-side-card h3 {
  margin-top: 0.18rem;
  font-size: 1.08rem;
}

.poverty-side-card .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.poverty-principle-band {
  padding: 1.35rem 1.45rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: center;
}

.poverty-principle-quote {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.poverty-principle-note {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
}

.poverty-principle-note strong {
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poverty-principle-note span {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .poverty-action-grid,
  .poverty-principle-band {
    grid-template-columns: 1fr;
  }

  .poverty-feature-card h2 {
    max-width: none;
  }
}


.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: #ffffff;
  color: #1e2b2f;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(30, 43, 47, 0.24);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 200;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid rgba(30, 43, 47, 0.4);
  outline-offset: 2px;
}


.menu-links a.nav-link-active {
  color: #2e2a25;
  position: relative;
}

.menu-links a.nav-link-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #c9963d;
}


.page-hero-card .hero-tagline {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}


@media (max-width: 640px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(248, 244, 236, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.8rem 1rem 1rem;
    gap: 0.65rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .menu-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .social-links {
    display: none;
  }

  .home-hero {
    min-height: 64vh;
  }

  .page-hero {
    min-height: 48vh;
  }

  .hero-card,
  .page-hero-card {
    padding: 1rem;
  }
}

.home-hero .hero-title-script {
  color: #d6a86b !important;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
