@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plex-arabic-400.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plex-arabic-500.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plex-arabic-600.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plex-arabic-700.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
:root {
  color-scheme: dark;
  --bg:#17100c; --surface:#241913; --ink:#fff5eb; --muted:#c8b6a8;
  --accent:#faecdf; --line:#634838; --nav:76px; --gut:clamp(20px,5.55vw,80px);
  --display-weight:500; --radius:12px; --move:cubic-bezier(.2,.7,.2,1);
  --font-display: Gabarito, system-ui, sans-serif;
  --font-text: Figtree, system-ui, sans-serif;
}
*,*::before,*::after { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:400 1rem/1.65 var(--font-text); }
[lang=ar] { --font-display:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,system-ui,sans-serif; --font-text:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,system-ui,sans-serif; }
img { display:block; max-width:100%; }
main { min-height:65vh; }
a { color:var(--accent); text-decoration-thickness:1px; text-underline-offset:.25em; }
a:hover { text-decoration-thickness:2px; }
h1,h2,h3 { font-family:var(--font-display); font-weight:500; line-height:1.13; margin:0 0 1rem; overflow-wrap:anywhere; }
h1 { font-size:clamp(2.65rem,6vw,5.7rem); }
h2 { font-size:clamp(1.65rem,3.3vw,3.3rem); }
:lang(ar) h1,:lang(ar) h2 { line-height:1.32; }
:lang(en) h1,:lang(en) h2 { letter-spacing:-.045em; }
p { margin:0 0 1.25rem; overflow-wrap:anywhere; }
:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.wrap { width:min(1280px,calc(100% - 2 * var(--gut))); margin-inline:auto; }
.narrow { max-width:690px; }
.skip { position:fixed; inset-block-start:12px; inset-inline-start:var(--gut); z-index:20; padding:12px; background:var(--ink); color:var(--bg); transform:translateY(-180%); }
.skip:focus { transform:none; }
.top { border-block-end:1px solid var(--line); position:relative; z-index:3; }
.top-inner { min-height:var(--nav); display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:inline-flex; align-items:center; min-height:44px; gap:8px; color:var(--ink); text-decoration:none; letter-spacing:.08em; font:700 1.06rem/1.15 var(--font-display); overflow-wrap:anywhere; }
.brand img { object-fit:contain; flex:none; }
.top nav,.top-actions,.actions,.filters { display:flex; align-items:center; gap:clamp(10px,2vw,28px); flex-wrap:wrap; }
.top nav a,.lang,footer nav a { color:var(--muted); text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
.top nav a:hover,.top nav [aria-current],.lang:hover,footer nav a:hover { color:var(--ink); text-decoration:underline; }
.menu { display:none; }
.button,button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:9px 20px; border:1px solid transparent; border-radius:7px; background:linear-gradient(180deg,#fff8f0,var(--accent)); color:#21150e; line-height:1.4; font:600 1rem/1.4 var(--font-text); text-decoration:none; text-align:center; cursor:pointer; transition:transform .2s var(--move),background-color .2s,color .2s,border-color .2s; }
.button:hover,button:hover { transform:translateY(-2px); background:#fff8f0; }
.button:active,button:active { transform:translateY(1px); }
.ghost { background:#fff5eb0b; border-color:var(--line); color:var(--ink); }
.ghost:hover,.ghost[aria-current] { background:var(--surface); border-color:var(--accent); color:var(--accent); }
.hero { position:relative; overflow:hidden; min-height:calc(100svh - var(--nav)); display:grid; align-items:center; border-block-end:1px solid var(--line); }
.hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; padding-block:clamp(44px,9vh,96px); }
.hero-copy { min-width:0; }
.hero h1 { max-width:11ch; }
[dir=rtl] .hero h1 { max-width:13ch; }
.eyebrow { display:flex; align-items:center; gap:10px; color:var(--accent); font:500 .83rem/1.4 ui-monospace,monospace; letter-spacing:.17em; }
.eyebrow span { block-size:7px; inline-size:7px; background:var(--accent); border-radius:50%; }
.lead { color:var(--muted); font-size:clamp(1.05rem,1.45vw,1.3rem); max-inline-size:54ch; }
.actions { margin-block-start:clamp(24px,3vw,42px); }
.hero-art { position:relative; isolation:isolate; aspect-ratio:1.06; overflow:hidden; display:grid; place-items:center; border-radius:22px; background:radial-gradient(ellipse at 50% 112%,#9e4f2b 0%,#60331e 25%,transparent 67%),radial-gradient(ellipse at 92% 5%,#422416,transparent 54%),#1b110b; }
.art-grid { position:absolute; inset:0; background-image:linear-gradient(#f0a77520 1px,transparent 1px),linear-gradient(90deg,#f0a77520 1px,transparent 1px); background-size:30px 30px; mask-image:radial-gradient(ellipse,#000 16%,transparent 78%); }
.orbit { border:1px solid #e5a47554; position:absolute; width:75%; aspect-ratio:1; border-radius:50%; }
.orbit.inner { width:59%; border-style:dashed; border-color:#e5a47538; }
.hero-art img { z-index:1; width:46%; height:auto; filter:drop-shadow(0 0 32px #ed9b6450); }
.corner { position:absolute; width:16px; height:16px; border:solid #a87656; border-width:0; }
.tl { top:0;left:0;border-top-width:1px;border-left-width:1px; }
.tr { top:0;right:0;border-top-width:1px;border-right-width:1px; }
.bl { bottom:0;left:0;border-bottom-width:1px;border-left-width:1px; }
.br { bottom:0;right:0;border-bottom-width:1px;border-right-width:1px; }
.block,.page { padding-block:clamp(52px,9vw,125px); }
.section-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px 24px; flex-wrap:wrap; }
.section-head a { min-height:44px; display:inline-flex; align-items:center; }
.next { border-block:1px solid var(--line); background:radial-gradient(ellipse at 50% 125%,#512b19,transparent 62%),var(--surface); }
.cards,.stats,.gallery { display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr)); margin-block:28px; }
.card,.stat { min-width:0; border:1px solid var(--line); background:var(--surface); border-radius:var(--radius); overflow:hidden; color:var(--ink); text-decoration:none; }
.card:hover,.stat:hover { border-color:var(--accent); }
.card-copy,.stat { padding:clamp(16px,3vw,30px); }
.card :is(h2,h3) { font-size:1.55rem; }
.card p,.stat span,.empty,small { color:var(--muted); }
.cover { width:100%; aspect-ratio:16/10; object-fit:contain; background:#19100b; }
.detail-cover,.gallery img { width:100%; max-width:900px; max-height:560px; object-fit:contain; object-position:center; background:var(--surface); border-radius:var(--radius); }
.prose { max-inline-size:75ch; white-space:pre-wrap; overflow-wrap:anywhere; margin-block:24px; }
.directory { display:grid; margin-block-start:24px; border-block-start:1px solid var(--line); }
.directory a { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; min-height:58px; padding:10px 2px; border-block-end:1px solid var(--line); overflow-wrap:anywhere; gap:10px; text-decoration:none; }
.directory a:hover { background:#f5d5b91a; }
footer { padding-block:clamp(48px,6vw,83px); border-block-start:1px solid var(--line); }
.footer { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
.footer > div { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 24px; }
.footer p { color:var(--muted); margin:0; }
.footer nav { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(102px,100%),1fr)); gap:2px 22px; }
form { display:grid; gap:18px; justify-items:start; max-inline-size:760px; margin-block:22px; }
form > label,fieldset { width:100%; min-width:0; }
label { display:grid; gap:5px; font-weight:500; }
input,select,textarea { width:100%; min-height:46px; border:1px solid var(--line); background:#20150f; border-radius:7px; padding:10px 12px; color:var(--ink); font:inherit; }
textarea { min-height:120px; resize:vertical; }
input[type="email"],input[type="url"] { direction:ltr; text-align:start; }
input[type="checkbox"] { width:1.2rem; min-height:1.2rem; accent-color:var(--accent); }
fieldset { padding:16px; border:1px solid var(--line); border-radius:var(--radius); display:grid; gap:12px; }
.checklist { max-height:210px; overflow:auto; }
.checklist label { display:flex; align-items:center; min-height:44px; overflow-wrap:anywhere; }
.notice,.empty { padding:14px 16px; border:1px solid var(--line); border-radius:var(--radius); background:#281a12; }
.error,.danger { color:#ffb6aa; }
.admin { padding-block:44px 80px; display:grid; grid-template-columns:200px minmax(0,1fr); gap:36px; }
.admin aside { border-inline-end:1px solid var(--line); padding-inline-end:16px; }
.admin aside nav { display:grid; gap:4px; }
.admin aside nav a { display:flex; align-items:center; padding-inline:10px; min-height:44px; color:var(--muted); text-decoration:none; }
.admin aside nav a:hover,.admin aside nav [aria-current] { color:var(--accent); background:var(--surface); }
.admin h1 { font-size:clamp(2.1rem,5vw,4rem); }
.stat { display:grid; gap:4px; }
.stat strong { font-size:2.6rem; line-height:1.2; font-variant-numeric:tabular-nums; }
@media (max-width:900px) {
  .has-menu .menu { display:inline-flex; background:transparent; border-color:var(--line); color:var(--ink); }
  .has-menu .top nav { display:none; position:absolute; inset:100% 0 auto; background:var(--surface); padding:16px var(--gut); border-block-end:1px solid var(--line); }
  .has-menu .top nav.open { display:grid; }
  html:not(.has-menu) .top-inner { flex-wrap:wrap; }
  html:not(.has-menu) .top nav { order:4; flex-basis:100%; }
  .top nav a { padding-inline:8px; }
  .top .contact-link { display:none; }
  .hero-grid { gap:24px; }
}
@media (max-width:640px) {
  :root { --nav:64px; }
  .hero-grid,.footer,.admin { grid-template-columns:minmax(0,1fr); }
  .hero-grid { align-content:center; padding-block:38px; }
  .hero-art { aspect-ratio:1.48; }
  .hero-art img { width:38%; }
  .orbit { width:58%; }
  .orbit.inner { width:48%; }
  .actions { gap:10px; align-items:stretch; flex-direction:column; }
  .admin aside { border-inline-end:0; border-block-end:1px solid var(--line); }
  .admin aside nav { display:flex; gap:4px; flex-wrap:wrap; }
  .top-inner { gap:8px; }
  .menu { padding-inline:10px; }
}
@media (prefers-reduced-motion:no-preference) {
  @view-transition { navigation:auto; }
  ::view-transition-old(root) { animation:120ms ease both page-away; }
  ::view-transition-new(root) { animation:200ms ease both page-in; }
  [data-reveal].shown { animation:550ms var(--move) both reveal; }
}
@keyframes page-away { to { opacity:.35; } }
@keyframes page-in { from { opacity:.45; } }
@keyframes reveal { from { opacity:.55; transform:translateY(10px); } }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.001ms!important; transition-duration:.001ms!important; scroll-behavior:auto!important; }
}
.next .mo-la__type { font-size:clamp(2rem,6vw,5rem); max-width:none; margin-block-end:2.25rem; }

.home .top { position:absolute; inset:0 0 auto; }
.home .hero { min-height:min(760px, 88svh); padding-block-start:var(--nav); }
.home .next { min-height:100svh; display:grid; align-items:center; }
.next .directory { border-block-start:0; margin-block-end:28px; }
.next .directory a { font-size:clamp(1.1rem,2vw,1.55rem); }
@media (max-width:900px) {
  html:not(.has-menu) .home .top { position:relative; }
  html:not(.has-menu) .home .hero { min-height:calc(100svh - var(--nav)); padding-block-start:0; }
}
@media (max-width:360px) {
  .hero-grid { padding-block:28px; gap:16px; }
}

.home-content { padding-block:clamp(32px,6vw,78px); }
.home-content .cards { margin-block-end:0; }
.home-about { background:var(--surface); border-block:1px solid var(--line); }
.home-contact { background:radial-gradient(ellipse at 82% 115%,#5c3320,transparent 65%); }
.policy-tools { background:var(--surface); border:1px solid var(--line); padding:clamp(16px,4vw,28px); border-radius:var(--radius); margin-block:20px; }
.policy-tools h2 { font-size:1.35rem; }
.policy-url bdi { display:block; overflow-wrap:anywhere; }
@media (min-width:901px) {
  .home .hero-grid { padding-block:40px; }
  .home .hero-art { aspect-ratio:1.23; }
}

/* The supplied logo already contains its own transparency and glow. */
.brand img {
  width:clamp(86px,9vw,108px);
  height:68px;
  object-fit:contain;
}
.home .hero-art {
  background:transparent;
  border-radius:0;
}
.home .hero-art img {
  width:100%;
  height:100%;
  object-fit:contain;
  filter:none;
}
