:root {
  --paper: #f3eee6;
  --paper-2: #fffdf8;
  --ink: #171614;
  --muted: #5e594f;
  --line: #d8d0c3;
  --eg: #0d5c52;
  --accent-2: #b4532a;
  --font: "IBM Plex Sans Arabic", sans-serif;
  --latin: "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 238, 230, 0.94);
  position: sticky;
  top: 0;
  z-index: 5;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo__mark {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  display: block;
  border-radius: 0.42rem;
}

.logo__word {
  font-family: var(--latin);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo__eg {
  color: var(--eg);
}

.logo__pays {
  color: var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

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

.masthead,
.page-head,
.paths,
.services,
.home-list,
.article,
.related,
.service {
  width: min(1100px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.masthead,
.page-head {
  padding: 2.75rem 0 1.75rem;
}

.masthead h1,
.page-head h1,
.service h1,
.article h1 {
  margin: 0 0 0.7rem;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.masthead__aside {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
}

.paths {
  display: grid;
  gap: 1rem;
  padding-bottom: 3rem;
}

@media (min-width: 860px) {
  .paths {
    grid-template-columns: repeat(3, 1fr);
  }
}

.path-card {
  display: grid;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 100%;
}

.path-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.path-card div {
  padding: 1rem 1.1rem 1.2rem;
}

.path-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.path-card:hover {
  border-color: var(--eg);
}

.services {
  padding-bottom: 4rem;
}

.services--tight {
  padding-bottom: 1.5rem;
}

.services__head {
  margin-bottom: 1rem;
}

.services__head h2,
.home-list__head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.services__head p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-chip {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.service-chip:hover {
  border-color: var(--eg);
}

.service-chip__role {
  font-size: 0.78rem;
  color: var(--accent-2);
  font-weight: 700;
}

.service-chip__blurb {
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.35rem 0.75rem;
  background: var(--brand, #111);
  color: var(--brand-ink, #fff);
  font-family: var(--latin);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark--sm {
  min-height: 2.1rem;
  width: fit-content;
  font-size: 0.95rem;
}

.home-list {
  padding-bottom: 4rem;
}

.home-list__head {
  padding-bottom: 0.7rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid var(--line);
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-row {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.article-row:hover strong {
  color: var(--eg);
}

.article-row__excerpt {
  color: var(--muted);
}

.article,
.service {
  padding: 2.4rem 0 3rem;
}

.article__head,
.service__head {
  padding-bottom: 1.2rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.article__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.article__body,
.split {
  max-width: 40rem;
}

.article__body h2,
.split h2 {
  margin: 1.6rem 0 0.6rem;
  font-size: 1.15rem;
}

.article__body p,
.split li,
.service p {
  color: #3b372f;
}

.article__body a,
.related a {
  color: var(--eg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

.split ul {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: var(--muted);
}

.service__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.related {
  padding-bottom: 4rem;
  max-width: 40rem;
}

.related h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

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

.related a {
  display: block;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.related li .article__meta {
  display: block;
  padding: 0 0 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.2rem, 4vw, 3rem) 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.logo--foot {
  display: inline-flex;
  margin-bottom: 0.7rem;
}

.site-footer p {
  margin: 0 0 0.4rem;
  max-width: 36rem;
}

.site-footer__note {
  font-size: 0.8rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.85rem 0 !important;
}

.site-footer__links a {
  color: var(--eg);
  font-weight: 600;
}

.note {
  max-width: 40rem;
  padding: 0.85rem 1rem;
  background: #e4f0ed;
  border: 1px solid #c5d9d4;
}

.note--warn {
  background: #f7eee4;
  border-color: #e4d0b8;
}

.service__extra {
  margin-top: 1.5rem;
}

.report-form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
  margin-top: 1.5rem;
}

.report-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.report-form input,
.report-form select,
.report-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
}

.report-form .btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.catalog {
  width: min(1100px, calc(100% - 2.4rem));
  margin: 0 auto 4rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.filter:hover,
.filter.is-on {
  border-color: var(--eg);
  color: var(--eg);
}

.filter.is-on {
  background: #e4f0ed;
}

.catalog__count {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog__belt {
  margin: 0 0 2rem;
}

.catalog__belt[hidden] {
  display: none;
}

.catalog__heading {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.catalog-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.svc-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  min-height: 100%;
}

.svc-card:hover {
  border-color: var(--eg);
}

.svc-card .brand-mark {
  width: fit-content;
}

.svc-card__egypt {
  font-size: 0.78rem;
  font-weight: 700;
}

.svc-card__egypt--yes {
  color: var(--eg);
}

.svc-card__egypt--limited {
  color: var(--accent-2);
}

.svc-card__egypt--no {
  color: #8a3b3b;
}

.svc-card__blurb {
  color: var(--muted);
  font-size: 0.95rem;
}

.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.svc-card__tags span {
  border: 1px solid var(--line);
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.catalog__empty {
  color: var(--muted);
}

.svc-card[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }
}
