/* Ramah International — static rebuild (warm nonprofit) */
:root {
  --teal-950: #0a3a45;
  --teal-900: #0f4c5c;
  --teal-800: #155a6b;
  --teal-700: #1a6b7a;
  --teal-500: #2a8a9a;
  --teal-300: #7eb8c3;
  --teal-100: #e6f3f6;
  --teal-50: #f3fafb;
  --sand: #f8f4ef;
  --sand-deep: #efe6da;
  --ink: #1c2a30;
  --muted: #5a6a70;
  --border: #d3e2e6;
  --white: #ffffff;
  --accent: #c4785a;
  --accent-soft: #f6ebe4;
  --focus: #0b6e99;
  --max: 1280px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 76, 92, 0.08);
  --shadow-soft: 0 4px 16px rgba(15, 76, 92, 0.06);
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-900); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--teal-900); color: #fff;
  padding: .6rem 1rem; z-index: 1000; border-radius: 8px;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(15,76,92,.04);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.logo img { height: 52px; width: auto; }
.logo { text-decoration: none; display: inline-flex; align-items: center; }
.header-actions { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .62rem 1.15rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font: inherit; line-height: 1.2;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 6px 16px rgba(26,107,122,.22); }
.btn-primary:hover { background: var(--teal-900); color: #fff; }
.btn-outline { background: transparent; color: var(--teal-700); border-color: var(--teal-300); }
.btn-outline:hover { background: var(--teal-100); color: var(--teal-900); border-color: var(--teal-500); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(196,120,90,.25); }
.btn-accent:hover { background: #a86246; color: #fff; }
.btn-ghost { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.28); color: #fff; }

.nav-toggle {
  display: none; background: var(--teal-50); border: 1px solid var(--border);
  border-radius: 8px; padding: .45rem .7rem; font-weight: 600; color: var(--teal-900);
}
.primary-nav { background: linear-gradient(90deg, var(--teal-950), var(--teal-800)); }
.primary-nav .wrap { display: flex; flex-wrap: wrap; gap: 0; }
.primary-nav details { position: relative; }
.primary-nav summary {
  list-style: none; cursor: pointer; color: #fff; padding: .85rem 1rem;
  font-weight: 600; font-size: .94rem;
}
.primary-nav summary::-webkit-details-marker { display: none; }
.primary-nav summary::after { content: " ▾"; opacity: .7; font-size: .8em; }
.primary-nav a.top-link {
  display: block; color: #fff; text-decoration: none; padding: .85rem 1rem;
  font-weight: 600; font-size: .94rem;
}
.primary-nav a.top-link:hover,
.primary-nav details[open] > summary,
.primary-nav summary:hover { background: rgba(255,255,255,.1); color: #fff; }
.primary-nav .dropdown {
  position: absolute; left: 0; top: 100%; min-width: 270px;
  background: #fff; border: 1px solid var(--border); border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow); padding: .45rem 0; z-index: 40;
}
.primary-nav .dropdown a {
  display: block; padding: .55rem 1rem; color: var(--ink); text-decoration: none;
  font-size: .95rem;
}
.primary-nav .dropdown a:hover { background: var(--teal-50); color: var(--teal-900); }
.external-note { font-size: .8rem; color: var(--muted); padding: .3rem 1rem .5rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(126,184,195,.35), transparent 60%),
    linear-gradient(135deg, var(--teal-50) 0%, var(--sand) 55%, #fff 100%);
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 2.25rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-700); background: rgba(255,255,255,.7);
  border: 1px solid var(--border); border-radius: 999px; padding: .28rem .75rem; margin-bottom: .9rem;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.22; margin: 0 0 .85rem; color: var(--teal-950); font-weight: 700;
}
.hero .lede { font-size: 1.16rem; color: var(--muted); max-width: 40rem; margin: 0 0 .35rem; }
.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1rem;
  overflow: hidden;
}
.hero-panel img {
  width: 100%; height: auto; border-radius: var(--radius-sm); object-fit: cover; max-height: 280px;
}
.hero-panel .caption {
  margin: .85rem .25rem .15rem; font-size: .92rem; color: var(--muted);
}

/* Homepage product slider (shop samples) */
.product-slider { display: flex; flex-direction: column; gap: .65rem; }
.product-slider-head { padding: .15rem .25rem 0; }
.product-slider-kicker {
  margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--teal-700);
}
.product-slider-sub {
  margin: .15rem 0 0; font-size: 1.05rem; font-family: var(--serif);
  color: var(--teal-950); font-weight: 700;
}
.product-slider-viewport {
  position: relative; background: var(--sand); border-radius: var(--radius-sm);
  border: 1px solid var(--border); min-height: 280px; overflow: hidden;
}
.product-slides { list-style: none; margin: 0; padding: 0; }
.product-slide { margin: 0; }
.product-slide a {
  display: grid; grid-template-columns: 118px 1fr; gap: .85rem; align-items: center;
  padding: .9rem; text-decoration: none; color: inherit; min-height: 280px;
}
.product-slide a:hover .product-slide-cta,
.product-slide a:focus-visible .product-slide-cta { text-decoration: underline; }
.product-slide img {
  width: 118px; height: 170px; max-height: none; object-fit: contain;
  background: #fff; border-radius: 8px; border: 1px solid var(--border);
  justify-self: center;
}
.product-slide-name {
  display: block; font-family: var(--serif); font-size: 1.05rem; line-height: 1.35;
  color: var(--teal-950); font-weight: 700; margin-bottom: .35rem;
}
.product-slide-price {
  display: block; font-weight: 700; color: var(--teal-800); margin-bottom: .55rem;
}
.product-slide-cta {
  display: inline-block; font-size: .92rem; font-weight: 600; color: var(--teal-700);
}
.product-slider-dots { display: flex; justify-content: center; gap: .4rem; }
.product-slider-dots button {
  appearance: none; width: .65rem; height: .65rem; border-radius: 999px;
  border: 1px solid var(--teal-300); background: #fff; padding: 0; cursor: pointer;
}
.product-slider-dots button.is-active,
.product-slider-dots button[aria-selected="true"] {
  background: var(--teal-700); border-color: var(--teal-700);
}
.product-slider-dots button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.product-slider .caption a { color: var(--teal-700); font-weight: 600; text-decoration: none; }
.product-slider .caption a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .product-slide a { grid-template-columns: 100px 1fr; min-height: 240px; }
  .product-slide img { width: 100px; height: 145px; }
  .product-slider-viewport { min-height: 240px; }
}

.page-hero {
  padding: 2.1rem 0 1.6rem;
  background:
    linear-gradient(120deg, var(--teal-50), var(--sand));
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--serif); margin: 0; color: var(--teal-950);
  font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.25;
}
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: .55rem; }
.breadcrumb a { color: var(--teal-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

main { padding: 0 0 3rem; }
.prose { max-width: 48rem; }
.prose h2, .content-area h2 {
  font-family: var(--serif); color: var(--teal-900); margin-top: 2rem;
  font-size: 1.45rem; line-height: 1.3;
}
.prose h3, .content-area h3 { color: var(--teal-700); margin-top: 1.5rem; font-size: 1.2rem; }
.prose p, .content-area p { margin: 0 0 1rem; }
.prose ul, .prose ol, .content-area ul, .content-area ol { padding-left: 1.25rem; }
.prose li, .content-area li { margin-bottom: .4rem; }
.prose blockquote, .content-area blockquote {
  margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--teal-500);
  background: var(--teal-50); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink);
}
.content-area img { border-radius: var(--radius); margin: 1rem 0; }
.content-area figure { margin: 1.25rem 0; }
.content-area .aligncenter { margin-left: auto; margin-right: auto; }
.content-area .wp-caption-text, .content-area figcaption { font-size: .9rem; color: var(--muted); }

/* Sections / cards */
.section { padding: 2.75rem 0; }
.section-alt {
  background:
    linear-gradient(180deg, var(--teal-50), #f7fbfc);
  border-block: 1px solid var(--border);
}
.section-sand { background: var(--sand); border-block: 1px solid var(--sand-deep); }
.section-title {
  font-family: var(--serif); color: var(--teal-950); margin: 0 0 .45rem;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
}
.section-intro { color: var(--muted); max-width: 42rem; margin: 0 0 1.35rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-soft);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--teal-300); }
.card h3 { margin: 0 0 .55rem; color: var(--teal-900); font-size: 1.15rem; }
.card p { margin: 0 0 1rem; color: var(--muted); flex: 1; }
.card img { margin-bottom: .9rem; border-radius: 8px; max-height: 70px; width: auto; object-fit: contain; }
.card .card-media {
  margin: -1.4rem -1.4rem 1rem; max-height: none; width: calc(100% + 2.8rem);
  border-radius: var(--radius) var(--radius) 0 0; object-fit: cover; height: 150px;
}
.card .btn { align-self: flex-start; }
.mission-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .95rem; grid-template-columns: repeat(2, 1fr); }
.mission-list li {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.15rem 1.2rem; box-shadow: var(--shadow-soft); position: relative;
}
.mission-list li::before {
  content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 4px;
  background: linear-gradient(180deg, var(--teal-500), var(--accent)); border-radius: 999px;
}
.mission-list strong { color: var(--teal-900); display: block; margin-bottom: .3rem; font-size: 1.05rem; padding-left: .55rem; }
.mission-list span, .mission-list li { color: var(--muted); }
.mission-list li { padding-left: 1.15rem; color: var(--ink); }
.path-card {
  text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.15rem 1.2rem; box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: block; height: 100%;
}
.path-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--teal-300); color: inherit; }
.path-card .label {
  font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: .35rem;
}
.path-card h3 { margin: 0 0 .35rem; color: var(--teal-950); font-size: 1.08rem; }
.path-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.testimonial {
  background: var(--white); border-left: 4px solid var(--accent); padding: 1.15rem 1.3rem;
  border-radius: 0 var(--radius) var(--radius) 0; margin: 1rem 0; box-shadow: var(--shadow-soft);
}
.testimonial cite { display: block; margin-top: .6rem; font-style: normal; color: var(--muted); font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.15rem; }
.split {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
}
.signup-box {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.signup-box label { display: block; font-weight: 600; margin: .7rem 0 .3rem; }
.signup-box input[type="text"],
.signup-box input[type="email"],
.signup-box textarea {
  width: 100%; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; background: var(--teal-50);
}
.form-note { font-size: .9rem; color: var(--muted); margin-top: .75rem; }
.quick-links {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .7rem;
  margin-top: 1rem;
}
.quick-links a {
  display: block; text-decoration: none; background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: .8rem .9rem; color: var(--teal-900); font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-soft);
}
.quick-links a:hover { background: var(--teal-100); border-color: var(--teal-300); }
.related {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.related h2 {
  font-family: var(--serif); color: var(--teal-900); font-size: 1.25rem; margin: 0 0 .85rem;
}
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.related a { font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }
.donate-banner {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #e8f5f7; border-radius: calc(var(--radius) + 2px); padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow);
}
.donate-banner h2 { color: #fff; margin: 0 0 .55rem; font-family: var(--serif); font-size: 1.55rem; }
.donate-banner p { margin: 0 0 .85rem; color: #d5ebef; }
.donate-banner .form-note { color: #b7d4da; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--teal-900), var(--teal-950));
  color: #d9eef2; padding: 2.75rem 0 1.5rem; margin-top: 0;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.75rem;
}
.site-footer h2 { font-size: .92rem; color: #fff; margin: 0 0 .75rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer p { margin: 0 0 .6rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 1rem; font-size: .88rem; color: #a9c8cf;
}

@media (max-width: 960px) {
  .grid-3, .grid-2, .grid-4, .split, .footer-grid, .hero-grid, .mission-list { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav .wrap { flex-direction: column; }
  .primary-nav .dropdown { position: static; box-shadow: none; border: none; border-radius: 0; background: rgba(0,0,0,.15); }
  .primary-nav .dropdown a { color: #fff; }
  .primary-nav .dropdown a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .external-note { color: #c5dde2; }
  .hero { padding: 2.4rem 0 2rem; }
}
