@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-normal-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-normal-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ramah's Voice blog — design tokens shared with ramahinternational.org */
: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;
  --accent-deep: #a86246;
  --gold: #d4a24c;
  --gold-soft: #f6e7c4;
  --focus: #0b6e99;
  --max: 1180px;
  --read: 42rem;
  --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;
  --header-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-800); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--teal-950);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 1.6em 0 0.5em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--teal-900); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Preview ribbon — removed automatically at production cutover if desired */
.preview-ribbon {
  background: var(--teal-950);
  color: #f3fafb;
  font-size: 0.875rem;
  text-align: center;
  padding: 0.45rem 1rem;
  letter-spacing: 0.01em;
}
.preview-ribbon a { color: #f6e7c4; }

/* Header */
.site-header {
  background: rgba(248, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { width: min(230px, 62vw); height: auto; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: none; cursor: pointer;
  width: 2.6rem; height: 2.6rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--white);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle-label span {
  display: block; width: 1.15rem; height: 2px; background: var(--teal-900); border-radius: 1px;
}
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0.25rem 1.35rem; align-items: center;
}
.site-nav a {
  color: var(--teal-900); text-decoration: none; font-weight: 600; font-size: 1.02rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-deep); }
.site-nav .nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 0.45rem 0.95rem; border-radius: 999px;
  text-decoration: none; box-shadow: var(--shadow-soft);
}
.site-nav .nav-cta:hover { background: var(--accent-deep); }

@media (max-width: 760px) {
  .nav-toggle-label { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--sand); border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.2rem 1.1rem;
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font); font-weight: 600; font-size: 1.05rem;
  padding: 0.75rem 1.35rem; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff !important; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost {
  background: transparent; color: var(--teal-900) !important;
  border: 1.5px solid var(--teal-700);
}
.btn-ghost:hover { background: var(--teal-100); }

/* Home hero */
.home-hero {
  padding: 3.2rem 0 2.2rem;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(246, 231, 196, 0.7), transparent 50%),
    radial-gradient(ellipse at 100% 10%, rgba(230, 243, 246, 0.9), transparent 46%),
    var(--sand);
}
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-700); margin-bottom: 0.7rem;
}
.home-hero h1 { max-width: 18ch; margin-bottom: 0.5em; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 38rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.featured {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center;
  background: var(--white); border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow); overflow: hidden; margin: 2.4rem 0 0;
  border: 1px solid var(--border);
}
.featured-media { background: var(--teal-100); }
.featured-media a, .featured-media picture { display: block; }
.featured-media img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.featured-copy { padding: 1.6rem 1.8rem 1.8rem; }
.featured-copy h2 { margin: 0.15em 0 0.4em; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.featured-copy h2 a { color: inherit; text-decoration: none; }
.featured-copy h2 a:hover { color: var(--accent-deep); }
.meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.7rem; }
.meta span + span::before { content: "·"; margin: 0 0.45em; color: var(--teal-300); }

@media (max-width: 800px) {
  .featured { grid-template-columns: 1fr; }
  .home-hero { padding-top: 2.2rem; }
}

/* Grids */
.section { padding: 2.8rem 0 3.4rem; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-bottom: 1.4rem; flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-soft);
  overflow: hidden; display: flex; flex-direction: column;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media img { width: 100%; aspect-ratio: 16/7; object-fit: cover; background: var(--teal-100); }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--accent-deep); }
.card-excerpt { color: var(--muted); font-size: 0.98rem; margin: 0; flex: 1; }
.more-row { margin-top: 1.8rem; text-align: center; }

/* Newsletter band */
.signup-band {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #fff; border-radius: calc(var(--radius) + 4px);
  padding: 2.2rem 2rem; display: flex; justify-content: space-between;
  align-items: center; gap: 1.4rem; flex-wrap: wrap;
  margin: 0.5rem 0 1rem;
}
.signup-band h2, .signup-band p { color: #fff; margin: 0 0 0.35rem; }
.signup-band p { color: #e6f3f6; max-width: 36rem; }
.signup-band .btn-primary { background: var(--gold); color: var(--teal-950) !important; }
.signup-band .btn-primary:hover { background: #e0b35d; }

/* Archive tools */
.archive-tools {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow-soft); margin-bottom: 1.5rem;
}
.archive-tools input[type="search"] {
  width: 100%; font: inherit; font-size: 1.05rem;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.7rem 0.9rem; background: var(--sand-50, var(--white));
  color: var(--ink);
}
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.chip {
  border: 1px solid var(--border); background: var(--teal-50); color: var(--teal-900);
  border-radius: 999px; padding: 0.28rem 0.75rem; font: inherit; font-size: 0.92rem;
  font-weight: 600; cursor: pointer;
}
.chip[aria-pressed="true"], .chip.is-on {
  background: var(--teal-900); color: #fff; border-color: var(--teal-900);
}
.archive-count { color: var(--muted); font-size: 0.95rem; margin: 0.4rem 0 0; }
.card.is-hidden { display: none; }
.empty-results { display: none; text-align: center; padding: 2rem 1rem; color: var(--muted); }
.empty-results.show { display: block; }

/* Article */
.article-wrap { width: min(var(--read), calc(100% - 2.4rem)); margin: 0 auto; padding: 2.1rem 0 3rem; }
.article-hero { width: min(1100px, calc(100% - 2.4rem)); margin: 1.6rem auto 0; }
.article-hero img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  aspect-ratio: 1920/667; object-fit: cover; background: var(--teal-100);
}
.article-header .meta { margin-bottom: 0.2rem; }
.byline-author { font-weight: 600; color: var(--teal-900); }
.article-body {
  font-size: 1.16rem; line-height: 1.8;
}
.article-body p { margin: 0 0 1.2em; }
.article-body a { color: var(--teal-700); }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin: 0.3em 0; }
.article-body h2, .article-body h3 { margin-top: 1.5em; }
.article-body iframe, .article-body .video-frame {
  width: 100%; aspect-ratio: 16/9; height: auto; min-height: 280px;
  border: 0; border-radius: var(--radius); display: block; margin: 1.4rem 0;
}
.article-body img { margin: 1.3rem auto; border-radius: var(--radius-sm); }
.share-row, .related { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.share-row h2, .related h2 { margin-top: 0; font-size: 1.2rem; }
.share-links { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.share-links a {
  text-decoration: none; border: 1px solid var(--border); border-radius: 999px;
  padding: 0.35rem 0.85rem; background: var(--white); font-size: 0.95rem; font-weight: 600;
  color: var(--teal-900);
}
.share-links a:hover { background: var(--accent-soft); border-color: var(--accent); }

/* Simple pages */
.page-hero { padding: 2.6rem 0 1rem; }
.prose { width: min(40rem, 100%); }
.prose .btn { margin-top: 0.4rem; }

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--teal-950);
  color: #d5e9ef;
  padding: 2.4rem 0 1.6rem;
}
.site-footer a { color: #f6e7c4; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem 2rem;
}
.footer-brand img { width: 200px; margin-bottom: 0.7rem; background: #fff; border-radius: 8px; padding: 0.35rem 0.5rem; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.copyright { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.92rem; color: #7eb8c3; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* 404 */
.not-found { text-align: center; padding: 4rem 1rem 5rem; }
.not-found h1 { margin-bottom: 0.4em; }

/* Utilities */
.visually-hidden {
  position: absolute !important; height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
