@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;700&display=swap');

:root {
  --ink: #000000;
  --paper: #ffffff;
  --ash: #f4f3f1;
  --grey: #5c5a56;
  --hair: #dcdad6;
  --serif: 'Noto Naskh Arabic', 'Songti SC', 'Songti', 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  --sans: 'Noto Sans Arabic', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px);
  background-size: 4px 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; }
p { margin: 0 0 1em; }
menu, ul { margin: 0; padding: 0; list-style: none; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.page { position: relative; }

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}

.brandline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 20px 8px;
}

.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(23px, 5.2vw, 31px);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-decoration: none;
  padding: 4px 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease;
}

.cta:hover { transform: translateY(-2px); background: #1a1a1a; }

.navbox {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 2px 20px 12px;
}

.navbox > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.navbox > summary::after { content: '＋'; font-size: 13px; }
.navbox[open] > summary::after { content: '－'; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 240px;
  min-width: 0;
}

.pills a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.pills a:hover,
.pills a:focus-visible {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 45vh;
  padding: 42px 20px 30px;
  background: #000;
  background-image: linear-gradient(120deg, #1b1b1b, #000 70%);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero-fig {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
}

.hero-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.hero-fig::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .84));
}

.hero-copy {
  max-width: 54ch;
  margin-left: auto;
  text-align: right;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 6.4vw, 58px);
  letter-spacing: -.015em;
  text-wrap: balance;
}

.hero-dek {
  margin: 14px 0 0;
  margin-left: auto;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
}

/* ---------- feature grid ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 52px 20px 80px;
  align-items: start;
}

.rail {
  position: sticky;
  top: 168px;
}

.rail-h {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .2em;
  margin-bottom: 10px;
}

.rail ul { border-top: 2px solid var(--ink); }
.rail li { border-bottom: 1px solid var(--hair); }

.rail a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  transition: padding-left .18s ease;
}

.rail a:hover { padding-left: 8px; }

/* ---------- prose ---------- */

.prose {
  max-width: 66ch;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
}

.prose > article {
  padding-bottom: 40px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--hair);
  scroll-margin-top: 176px;
}

.prose > article:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 4.2vw, 37px);
  letter-spacing: -.012em;
  margin: 0 0 18px;
}

.prose h2 > span {
  display: inline;
  border-bottom: 5px solid var(--ink);
  padding-bottom: 3px;
}

.prose h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  margin: 30px 0 12px;
}

.prose h3 > span { border-bottom: 3px solid var(--ink); padding-bottom: 2px; }

.prose p { margin: 0 0 1.1em; }

.prose > article > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.3em;
  line-height: .84;
  padding: 5px 9px 0 0;
}

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 1.1em;
}

.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5em; }

.prose a { text-underline-offset: 3px; }

.prose blockquote {
  margin: 26px 0;
  padding: 14px 0 14px 20px;
  border-left: 6px solid var(--ink);
  font-size: 20px;
  line-height: 1.7;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  border-radius: 0 4px 4px 0;
}

.prose figure {
  margin: 26px 0;
  padding: 10px;
  border-radius: 4px;
  background: var(--ash);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .08);
}

.prose figure img { border-radius: 4px; width: 100%; }

.prose figcaption {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey);
  margin-top: 8px;
}

.prose hr {
  border: 0;
  border-top: 2px solid var(--ink);
  margin: 30px 0;
}

/* ---------- footer ---------- */

.foot {
  background: #000;
  color: #fff;
  padding: 56px 20px 26px;
}

.foot-cta {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid #2c2c2c;
}

.foot-h {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 5vw, 44px);
  letter-spacing: -.01em;
}

.foot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: var(--sans);
  font-size: 16px;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.foot-btn:hover { transform: translateY(-2px); background: #e9e9e9; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid #2c2c2c;
}

.foot-addr {
  font-style: normal;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
}

.foot-links { display: grid; gap: 2px; }

.foot-links a,
.foot-top a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #cfcfcf;
  font-size: 16px;
  text-decoration: none;
}

.foot-links a:hover,
.foot-top a:hover { color: #fff; text-decoration: underline; }

.foot-top { margin: 0; }

.foot-base {
  padding-top: 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #9a9a9a;
}

.foot-base p { margin: 0; }

/* ---------- reveal ---------- */

.js .prose > article {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.js .prose > article.in {
  opacity: 1;
  transform: none;
}

/* ---------- breakpoints ---------- */

@media (max-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 36px 20px 60px;
  }

  .rail {
    position: static;
    order: 2;
    margin-top: 44px;
  }

  .column { order: 1; }

  .prose { font-size: 17px; }

  .hero { padding: 34px 18px 26px; }
}

@media (max-width: 560px) {
  .brandline { padding: 9px 16px 6px; }
  .navbox { padding: 2px 16px 10px; gap: 8px; }
  .pills a,
  .navbox > summary { padding: 0 12px; font-size: 16px; }
  .pills { flex: 1 1 100%; }
  .foot { padding: 46px 16px 22px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .foot-addr { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .prose > article {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cta,
  .pills a,
  .foot-btn,
  .rail a { transition: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

button[aria-expanded]{min-width:44px;min-height:44px}
