:root {
  --ink: #14110e;
  --muted: #5a534a;
  --paper: #f4efe6;
  --panel: #fffdf8;
  --copper: #ad8a3e;
  --plum: #5c2436;
  --line: #e2d8c6;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 17px;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.hair { width: 40px; height: 1px; background: var(--copper); border: 0; margin: 0 0 20px; }
.eye {
  margin: 0 0 12px;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--copper);
  font-weight: 500;
}
h1, h2, h3 { font-family: "Noto Naskh Arabic", serif; margin: 0 0 14px; line-height: 1.35; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 1px; cursor: pointer;
  padding: 15px 28px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.ink { background: var(--ink); color: var(--paper); }
.ink:hover { background: var(--plum); }
.ghost { background: transparent; border-color: currentColor; }
.paper { background: var(--panel); color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* nav */
.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.flag { height: 3px; background: linear-gradient(90deg, #c8102e 0 33%, #fff 33% 66%, #14110e 66%); }
.bar-in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { text-decoration: none; }
.brand small { display: block; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--copper); }
.brand b { font-family: "Noto Naskh Arabic", serif; font-size: 1.3rem; }
.menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.menu a:hover, .menu a.on { color: var(--ink); }
.sub-wrap { position: relative; }
.sub {
  display: none; position: absolute; top: 100%; right: 0;
  min-width: 240px; background: var(--panel); border: 1px solid var(--line);
  padding: 10px 0; box-shadow: 0 16px 40px rgba(20,17,14,.08);
}
.sub a { display: block; padding: 8px 18px; }
.sub-wrap:hover .sub { display: block; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: none; }
.burger i { display: block; width: 16px; height: 1px; background: var(--ink); margin: 5px auto; }
.drawer { display: none; padding: 8px 20px 20px; border-top: 1px solid var(--line); }
.drawer.open { display: block; }
.drawer a { display: block; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }

/* hero */
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: calc(100vh - 79px);
  background: var(--ink); color: var(--paper);
}
.shot { position: relative; overflow: hidden; min-height: 520px; }
.shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%;
  min-height: 520px; animation: drift 26s ease-in-out infinite alternate;
}
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(20,17,14,.45));
}
.copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 7vw, 90px); }
.copy h1 { max-width: 11ch; }
.copy .lead { color: rgba(244,239,230,.78); }
.stats { display: flex; gap: 28px; margin: 28px 0; padding-top: 24px; border-top: 1px solid rgba(173,138,62,.3); }
.stats b { display: block; font-family: "Noto Naskh Arabic", serif; font-size: 1.4rem; color: var(--copper); }
.stats span { font-size: .8rem; color: rgba(244,239,230,.55); }
.crumbs { font-size: .8rem; color: rgba(244,239,230,.5); margin-bottom: 14px; }
.crumbs a { color: var(--copper); text-decoration: none; }

.hero.short { min-height: 68vh; }
.hero.short .copy h1 { max-width: 14ch; }
.hero.short .shot, .hero.short .shot img { min-height: 420px; }

.mast {
  padding: clamp(48px, 8vw, 96px) 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #efe6d4 0%, var(--paper) 72%);
}
.mast h1 { max-width: 16ch; }
.mast .crumbs { color: var(--muted); }
.mast .crumbs a { color: var(--copper); }
.mast .lead { max-width: 46ch; }

.shot-in { position: relative; overflow: hidden; }
.shot-in img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 16%;
}
.essay h2 { margin-top: 28px; }
.essay h2:first-child { margin-top: 0; }
.essay ul { margin: 0 0 18px; padding: 0 22px 0 0; color: var(--muted); }
.essay li { margin-bottom: 8px; }

.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.cities a {
  padding: 28px 24px; text-decoration: none; border-inline-start: 1px solid var(--line);
}
.cities a:first-child { border-inline-start: 0; }
.cities a:hover { background: var(--panel); }
.cities b { display: block; font-family: "Noto Naskh Arabic", serif; font-size: 1.45rem; margin-bottom: 6px; }
.cities span { color: var(--muted); font-size: .95rem; }

.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.board a {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.board a:hover { color: var(--plum); }
.board b { color: var(--copper); font-family: "Noto Naskh Arabic", serif; font-size: 1.2rem; }
.board span { font-size: 1.25rem; font-weight: 600; }
.board i { font-style: normal; font-size: .85rem; border-bottom: 1px solid var(--copper); }

.next { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.next a { font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--copper); padding-bottom: 2px; }

.quote {
  margin: 0;
  padding: 28px 0;
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.55;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.note {
  padding: 22px 24px;
  background: #f7e9ea;
  border: 1px solid #e4c6cb;
}
.desk { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.form { padding: 28px; background: var(--panel); border: 1px solid var(--line); }

/* sections */
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark .lead, .dark p { color: rgba(244,239,230,.72); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 240px; padding: 28px; background: var(--panel);
  border: 1px solid var(--line); text-decoration: none;
  transition: .25s ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--copper); }
.tile .n { color: var(--copper); font-size: .75rem; letter-spacing: .16em; }
.tile p { color: var(--muted); margin: 10px 0 18px; }
.go { font-weight: 700; border-bottom: 1px solid var(--copper); align-self: flex-start; }
.dark .tile { background: #1c1814; border-color: #2a241e; color: var(--paper); }
.dark .tile p { color: rgba(244,239,230,.65); }

.essay p { color: var(--muted); margin: 0 0 16px; }
.path { list-style: none; margin: 0; padding: 0; }
.path li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.path b { color: var(--copper); font-family: "Noto Naskh Arabic", serif; }

.stage { position: relative; background: #000; border: 1px solid rgba(173,138,62,.4); cursor: pointer; }
.stage img, .stage video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.stage video { display: none; }
.stage.on video { display: block; }
.stage.on img, .stage.on .play { display: none; }
.play {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px;
  border-radius: 50%; border: 1px solid var(--copper); background: rgba(20,17,14,.55);
  color: var(--paper); letter-spacing: .14em; font-size: .75rem; cursor: pointer;
}
.play:hover { background: var(--plum); }

.acc { border-top: 1px solid var(--line); }
.acc button {
  width: 100%; text-align: right; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 18px 0; font-size: 1.08rem; font-weight: 650; cursor: pointer;
  display: flex; justify-content: space-between;
}
.acc .a { display: none; padding: 0 0 16px; color: var(--muted); }
.acc.open .a { display: block; }

.form { display: grid; gap: 14px; }
.form label { font-size: .78rem; font-weight: 700; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--panel); border-radius: 1px;
}
.form textarea { min-height: 130px; }
.nap { list-style: none; margin: 0; padding: 0; }
.nap li { padding: 14px 0; border-bottom: 1px solid var(--line); }

.pin {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  display: none; justify-content: space-between; align-items: center;
  gap: 12px; padding: 12px 22px; background: rgba(20,17,14,.96); color: var(--paper);
  border-top: 1px solid rgba(173,138,62,.35);
}
.pin.show { display: flex; }
.float {
  position: fixed; left: 16px; bottom: 76px; z-index: 35;
  display: flex; flex-direction: column; gap: 8px;
}
.float a {
  width: 48px; height: 48px; display: grid; place-items: center; text-decoration: none;
}
.wa { background: #128c4b; color: #fff; }
.call { background: var(--ink); color: var(--paper); border: 1px solid var(--copper); }

.foot { background: var(--ink); color: rgba(244,239,230,.7); padding: 56px 0 90px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--copper); }
.cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.end { margin-top: 36px; padding-top: 16px; border-top: 1px solid #2a241e; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; }

.rise { opacity: 0; transform: translateY(24px); }
.rise.in { opacity: 1; transform: none; transition: .8s cubic-bezier(.22,1,.36,1); }

@keyframes drift { from { transform: scale(1.05); } to { transform: scale(1.12) translateY(-1.2%); } }

@media (prefers-reduced-motion: reduce) {
  .shot img { animation: none; }
  .rise { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .menu, .bar-in .ink { display: none; }
  .burger { display: block; }
  .hero, .hero.short { grid-template-columns: 1fr; min-height: auto; }
  .shot { order: -1; min-height: 50vh; }
  .shot img { min-height: 50vh; }
  .shot::after { background: linear-gradient(to top, rgba(20,17,14,.55), transparent 45%); }
  .split, .tiles, .cols, .cities, .desk { grid-template-columns: 1fr; }
  .cities a { border-inline-start: 0; border-top: 1px solid var(--line); }
  .cities a:first-child { border-top: 0; }
  .board a { grid-template-columns: 48px 1fr; }
  .board i { display: none; }
  .pin span { display: none; }
}
