:root {
  --bg: #f6f3ee;
  --paper: #fbf9f6;
  --ink: #1c2420;
  --deep: #14241c;
  --sage: #6e7f72;
  --muted: #5e6862;
  --line: #d9d3c8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
html[lang="ar"] body { font-family: "Noto Naskh Arabic", "Outfit", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 {
  font-family: "Noto Naskh Arabic", serif;
  letter-spacing: 0;
  line-height: 1.35;
}
p { margin: 0 0 0.85rem; }

.utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 4vw;
  background: var(--deep);
  color: #e7ece8;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.utility .langs { display: flex; gap: 0.7rem; }
.utility .langs a[aria-current="true"] { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
  padding: 0.6rem 4vw;
  background: rgba(246, 243, 238, 0.96);
  border-bottom: 1px solid var(--line);
}
.logo img { height: 46px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.3rem 1.35rem; }
.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep);
}
.site-nav a[aria-current="page"] { border-bottom: 1px solid var(--deep); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.4rem 0.75rem;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8vh 7vw 7vh;
  background: var(--deep);
  color: #f4f1ea;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #b7c4b8; }
.hero h1 {
  max-width: 16ch;
  color: #f7f4ee;
  font-size: clamp(4rem, 8vw, 7.4rem);
}
.hero h1 span { display: block; font-style: italic; }
html[lang="ar"] .hero h1 span { font-style: normal; }
.hero .lead {
  max-width: 38rem;
  margin-top: 1.4rem;
  color: #d5ddd6;
  font-size: 1.05rem;
}
.hero-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 1.8rem 0 0; }
.hero-links a { border-bottom: 1px solid rgba(255,255,255,0.45); padding-bottom: 0.15rem; }

.activities, .manifesto, .section, .page-hero { padding-left: 7vw; padding-right: 7vw; }
.activities { padding-top: 5rem; padding-bottom: 2rem; }
.activities h2, .manifesto h2, .page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  color: var(--deep);
  margin-bottom: 1.4rem;
}
.index { border-top: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: 4rem 0.8fr 1.4fr auto;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.index-row .num { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.7rem; color: var(--sage); }
html[lang="ar"] .index-row .num { font-family: "Noto Naskh Arabic", serif; font-style: normal; }
.index-row .name { font-family: "Cormorant Garamond", serif; font-size: 2.1rem; color: var(--deep); }
html[lang="ar"] .index-row .name { font-family: "Noto Naskh Arabic", serif; }
.index-row .desc { color: var(--muted); }
.index-row .go { letter-spacing: 0.06em; font-size: 0.82rem; text-transform: uppercase; }
.index-row:hover .name { font-style: italic; }
html[lang="ar"] .index-row:hover .name { font-style: normal; }

.manifesto { max-width: 58rem; padding-top: 4.5rem; padding-bottom: 1rem; }
.commitments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 3rem 7vw 5rem;
  border-top: 1px solid var(--line);
}
.commitments article { padding: 1.6rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--line); }
.commitments article + article { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.commitments h2 { font-size: 2rem; margin: 0.3rem 0 0.7rem; color: var(--deep); }
.commitments p { color: var(--muted); }
.commitments a { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--deep); }

.page-hero { padding-top: 4.2rem; padding-bottom: 0.4rem; }
.identity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.identity a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.identity a[aria-current="page"] { color: var(--deep); border-bottom: 1px solid var(--deep); }
.page-hero .lead, .prose p { font-size: 1.05rem; max-width: 42rem; }
.section { padding-top: 1.2rem; padding-bottom: 4.5rem; }
.prose { max-width: 44rem; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; }
.note, .card, .product-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.2rem 0 0;
}
.note h2, .card h2, .product-card h2 { font-size: 2rem; margin-bottom: 0.6rem; color: var(--deep); }
.note p, .card p, .product-card p { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.text-link, .card a { border-bottom: 1px solid var(--deep); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.button, button.button {
  display: inline-block;
  background: transparent;
  color: var(--deep);
  border: 0;
  border-bottom: 1px solid var(--deep);
  border-radius: 0;
  padding: 0 0 0.15rem;
  font: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
}
.form {
  display: grid;
  gap: 0.8rem;
  max-width: 36rem;
}
label { display: grid; gap: 0.3rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
input, textarea, select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 0.7rem 0;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.alert { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.honeypot { position: absolute; left: -9999px; }
.crumbs { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.8rem; }
.crumbs a { border-bottom: 1px solid var(--line); }

.site-footer {
  padding: 3.2rem 7vw 1.3rem;
  background: #101c17;
  color: #d7ded9;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand p { margin: 0; max-width: 28rem; color: #b7c2bb; font-size: 0.95rem; }
.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 2.5rem; align-items: start; }
.footer-pairs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6rem; }
.footer-label {
  margin: 0 0 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8ea196;
}
.footer-grid a, .footer-meta {
  display: block;
  margin: 0.38rem 0;
  color: #e8eeea;
  font-size: 0.95rem;
}
.footer-grid a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 1rem; }
.socials a { margin: 0; font-size: 0.82rem; letter-spacing: 0.04em; color: #b7c2bb; }
.legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.78rem;
  color: #9aaba1;
}
.legal a { color: #9aaba1; }
.legal a:hover { color: #fff; }
.legal .langs { display: flex; gap: 0.85rem; letter-spacing: 0.14em; }

@media (max-width: 900px) {
  .index-row, .commitments, .split, .product-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { align-items: flex-start; flex-direction: column; gap: 0.8rem; }
  .index-row .go { grid-column: 2; }
  .commitments article + article { padding-left: 0; border-left: 0; }
  .hero { min-height: auto; padding-top: 12vh; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem 7vw 1.2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .legal { flex-direction: column; }
}
