/* Forced Migration Upward Mobility Project — site styles
   Editorial: slate and olive, a serif text face at a wide measure, rules
   instead of boxes. Reads like a research organisation, because it is one. */

@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;500;600;700&family=Archivo:wght@500;600;700&display=swap');

:root {
  --slate-900: #1f2933;
  --slate-700: #3c4a58;
  --olive: #6b7f4a;
  --olive-dark: #55663a;
  --ink: #21272e;
  --muted: #5f6b76;
  --rule: #d9dee3;
  --bone: #f6f5f1;
  --white: #fff;
  --max: 940px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Spectral", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.78; font-size: 18px; }
h1, h2, h3 { font-family: var(--display); color: var(--slate-900); line-height: 1.22; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
h3 { font-size: 1.06rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
a { color: var(--olive-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 26px; }
.section { padding: 66px 0; border-top: 1px solid var(--rule); }
.bg-bone { background: var(--bone); }
.lead { font-size: 1.12rem; color: var(--muted); }
.small { font-size: .95rem; color: var(--muted); }

.site-header { background: var(--white); border-bottom: 2px solid var(--slate-900); }
.nav { max-width: var(--max); margin: 0 auto; padding: 18px 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { color: var(--slate-900); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.06rem; }
.brand span { display: block; font-family: var(--body); font-weight: 400; font-size: .82rem; color: var(--muted); }
.nav__links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav__links a { color: var(--slate-700); font-family: var(--display); font-weight: 600; font-size: .88rem; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.nav__links a:hover { color: var(--olive-dark); }
.nav__toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 4px; font-size: 1.25rem; padding: 2px 10px; cursor: pointer; }

.hero { padding: 74px 0 66px; }
.hero h1 { max-width: 17ch; }
.hero .lead { font-size: 1.2rem; max-width: 58ch; }
.kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--olive); margin: 0 0 1.4em; }

/* Rules, not boxes */
.entries { margin-top: 34px; }
.entry { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 26px 0; border-top: 1px solid var(--rule); }
.entry:last-child { border-bottom: 1px solid var(--rule); }
.entry h3 { margin: 0; font-family: var(--display); color: var(--olive-dark); font-size: 1rem; letter-spacing: .01em; }
.entry p { margin: 0; color: var(--muted); }

.meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 26px; }
.meta h3 { font-family: var(--display); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--olive); margin-bottom: .5em; }
.meta p { margin: 0; }

.site-footer { background: var(--slate-900); color: #b3bdc7; padding: 44px 0 30px; font-size: .93rem; font-family: var(--display); }
.site-footer a { color: #dbe3ea; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__name { font-weight: 700; font-size: 1.02rem; color: #fff; margin: 0; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { font-size: .86rem; }
.site-footer hr { border: 0; border-top: 1px solid #3a4854; margin: 26px 0; }
.footer__legal { text-align: center; font-size: .84rem; color: #93a0ab; }
.footer__legal p { margin: 0 0 .5em; }

@media (max-width: 780px) {
  .entry, .meta { grid-template-columns: 1fr; gap: 10px; }
  .nav__toggle { display: block; }
  .nav__links { display: none; width: 100%; flex-direction: column; gap: 12px; padding: 12px 0 4px; }
  .nav__links.is-open { display: flex; }
}
