:root {
  --virunga: #15302a;
  --mist: #eceee6;
  --clay: #b5532f;
  --clay-dark: #974325;
  --sorghum: #e8b54a;
  --marquee: #f2b51d;
  --ink: #1e2420;
  --stone: #5d6660;
  --soft: #b8c2bb;
  --line: #cfd4cc;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: var(--body); background: var(--mist); color: var(--ink); line-height: 1.6; font-size: 1.0625rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
:focus-visible { outline: 3px solid var(--sorghum); outline-offset: 3px; }

.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .wrap { padding: 0 2.5rem; } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--mist); padding: .5rem 1rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; border-radius: 999px; padding: .85rem 1.6rem; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s; }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); }
.btn-line { border: 2px solid var(--soft); color: var(--mist); }
.btn-line:hover { border-color: var(--mist); }
.btn-big { padding: 1.1rem 2rem; font-size: 1.125rem; }
.small { font-weight: 400; opacity: .8; font-size: .85em; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--virunga); color: var(--mist); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5rem; }
.logo { height: 2.75rem; width: auto; }
.top nav { display: none; gap: 2rem; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--sorghum); }
@media (min-width: 900px) { .top nav { display: flex; } }
@media (max-width: 480px) { .top .btn { padding: .6rem 1rem; font-size: .9rem; } }

/* hero */
.hero { background: var(--virunga); color: var(--mist); padding: 4rem 0 5rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(3.25rem, 9vw, 7rem); font-weight: 800; letter-spacing: -0.035em; }
.lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.2rem; color: var(--soft); }
.btns { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hero-photos img { border-radius: 6px; object-fit: cover; width: 100%; height: 100%; }
.hero-photos img:first-child { grid-row: span 2; aspect-ratio: 3/4; }
.hero-photos img:not(:first-child) { aspect-ratio: 4/3; }
@media (min-width: 1024px) { .hero { padding: 6rem 0 7rem; } .hero-grid { grid-template-columns: 1.1fr 1fr; } }

/* marquee */
.marquee { overflow: hidden; background: var(--marquee); color: #000; font-family: "DM Mono", monospace; font-size: 1.1rem; padding: .75rem 0; }
.marquee-track { display: flex; width: max-content; white-space: pre; animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* about */
.about { display: grid; gap: 2rem; padding-top: 6rem; padding-bottom: 6rem; }
.about p { font-size: 1.2rem; color: var(--stone); max-width: 36rem; }
.about p + p { margin-top: 1.25rem; }
.say { font-style: italic; }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* services */
.services { background: #fff; padding: 6rem 0; }
.svc-list { margin-top: 3rem; display: grid; gap: 0 2.5rem; border-bottom: 1px solid var(--line); }
.svc-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .25rem 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.svc-list h3 { font-size: 1.75rem; }
.svc-list p { grid-column: 2; color: var(--stone); }
.tri { width: 18px; height: 16px; margin-top: .55rem; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.coral { background: #e47155; } .mustard { background: #e8c46a; } .teal { background: #309d8d; } .slate { background: #5b7d99; }
@media (min-width: 768px) { .svc-list { grid-template-columns: 1fr 1fr; } }

/* events */
.events { padding-top: 6rem; padding-bottom: 6rem; }
.ev-grid { margin-top: 3rem; display: grid; gap: 2.5rem 1.5rem; }
.ev-grid img { border-radius: 6px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ev-grid h3 { margin-top: 1rem; font-size: 1.5rem; }
.ev-grid p { color: var(--stone); }
@media (min-width: 640px) { .ev-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ev-grid { grid-template-columns: repeat(3, 1fr); } }

/* rwanda */
.rwanda { position: relative; color: var(--mist); min-height: 32rem; display: flex; align-items: flex-end; }
.rwanda img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rwanda::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--virunga), rgb(21 48 42 / .2)); }
.rwanda-text { position: relative; z-index: 1; padding-bottom: 4rem; width: 100%; }
.rwanda-text h2 { max-width: 48rem; }
.rwanda-text p { margin-top: 1rem; max-width: 36rem; font-size: 1.2rem; }

/* brochure */
.brochure { background: var(--virunga); color: var(--mist); padding: 5rem 0; }
.brochure-row { display: flex; flex-direction: column; gap: 2rem; }
.brochure p { margin-top: 1rem; max-width: 34rem; color: var(--soft); font-size: 1.15rem; }
@media (min-width: 1024px) { .brochure-row { flex-direction: row; align-items: center; justify-content: space-between; } }
@media (max-width: 480px) { .brochure .btn-big { white-space: normal; } }
@media (max-width: 400px) { .hero .btn, .brochure .btn { white-space: normal; text-align: center; justify-content: center; flex-wrap: wrap; } }

/* contact */
.contact { padding-top: 6rem; padding-bottom: 6rem; }
.contact-list { margin-top: 2.5rem; display: grid; gap: 2rem; }
.contact-list dt { color: var(--stone); }
.contact-list dd { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--clay); }
@media (min-width: 768px) { .contact-list { grid-template-columns: 1fr 1fr; } }

/* footer */
.foot { background: var(--ink); color: var(--mist); }
.imigongo {
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%231e2420'/%3E%3Cpolygon points='0,100 50,0 100,100' fill='%23eceee6'/%3E%3Cpolygon points='20,100 50,40 80,100' fill='%231e2420'/%3E%3Cpolygon points='36,100 50,72 64,100' fill='%23b5532f'/%3E%3Cpolygon points='82,0 100,36 118,0' fill='%23b5532f'/%3E%3Cpolygon points='-18,0 0,36 18,0' fill='%23b5532f'/%3E%3C/svg%3E") repeat-x;
  background-size: 36px 36px;
}
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; color: rgb(236 238 230 / .7); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
