/* From the night and its questions, toward a page that offers shelter. */
#origins.origins {
  --origins-ink: #07151b;
  --origins-paper: #ece5d7;
  --origins-gold: #b9a17b;
  position: relative;
  isolation: isolate;
  color: var(--origins-paper);
  background: var(--origins-ink);
  overflow: hidden;
  scroll-margin-top: 0;
}
#origins .origins-opening {
  position: relative;
  display: grid;
  place-items: start center;
  min-height: 640px;
  aspect-ratio: 16 / 9;
  max-height: 1140px;
  isolation: isolate;
}
#origins .origins-opening-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url('../images/origins/origins-art.webp?v=20261109') center center / cover no-repeat;
}
#origins .origins-opening::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 13, 20, .03), transparent 55%, rgba(7, 21, 27, .08) 80%, #07151b 100%);
}
#origins .origins-title-wrap { width: min(85%, 1200px); padding-top: clamp(100px, 12vw, 225px); text-align: center; }
#origins #origins-title {
  margin: 0;
  font-family: 'Aref Ruqaa', 'Amiri', serif;
  font-size: clamp(67px, 7.2vw, 126px);
  font-weight: 400;
  line-height: 1.45;
  color: #f0e9dc;
  text-shadow: 0 3px 30px rgba(0, 4, 12, .3);
  text-wrap: balance;
}
#origins #origins-title .ui-en { font-family: 'Cormorant Garamond', Georgia, serif; font-size: .76em; line-height: 1.08; }
#origins .origins-title-rule {
  display: block;
  width: 80px;
  height: 1px;
  margin: 25px auto 0;
  background: linear-gradient(90deg, transparent, #c7b391, transparent);
}
#origins .origins-reading {
  position: relative;
  margin-top: -1px;
  padding: 0 max(7.7vw, 38px) 88px;
  background: radial-gradient(ellipse at 50% 0, rgba(41, 65, 69, .15), transparent 60%), #07151b;
}
#origins .origins-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(64px, 8vw, 145px);
  max-width: 1420px;
  margin: 0 auto;
  direction: rtl;
}
[data-language='en'] #origins .origins-columns { direction: ltr; }
#origins .origins-column { position: relative; min-width: 0; padding-top: 32px; border-top: 1px solid rgba(185, 161, 123, .4); }
#origins .origins-column-heading { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
#origins .origins-column-number { order: 1; font: 400 15px/1.5 'Cormorant Garamond', Georgia, serif; color: #b7a990; letter-spacing: .12em; }
#origins .origins-column h3 { margin: 0; font-family: 'Aref Ruqaa', 'Amiri', serif; font-size: clamp(42px, 4vw, 66px); font-weight: 400; line-height: 1.5; color: #ddd2bc; }
#origins .origins-column h3 .ui-en { font-family: 'Cormorant Garamond', Georgia, serif; font-size: .9em; }
#origins .origins-prose p { margin: 0; text-wrap: pretty; }
#origins .origins-prose .ar {
  font-family: 'Amiri', Georgia, serif;
  font-size: clamp(24px, 1.85vw, 30px);
  font-weight: 400;
  line-height: 2.12;
  text-align: right;
}
#origins .origins-prose .en {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(25px, 1.9vw, 31px);
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}
#origins .origins-prose .ar + .en + .ar,
#origins .origins-prose .en + .ar + .en { margin-top: 25px; }
#origins .origins-prose p:last-child { margin-bottom: 0; }
#origins .origins-end-mark { display: block; margin-top: 75px; color: #aa9779; font: 30px/1.4 Georgia, serif; text-align: center; }
/* Six destinations still fit the established header without crowding the brand. */
@media (min-width: 1101px) {
  .desktop-nav { gap: clamp(20px, 2vw, 40px); }
  [data-language='en'] .desktop-nav a { font-size: 11px; letter-spacing: .055em; }
}
@media (max-width: 1000px) {
  #origins .origins-opening { min-height: 480px; }
  #origins .origins-title-wrap { padding-top: 85px; }
  #origins #origins-title { font-size: clamp(58px, 8vw, 82px); }
  #origins .origins-reading { padding-inline: 7vw; }
  #origins .origins-columns { gap: 55px; }
  #origins .origins-prose .ar { font-size: 24px; line-height: 2.05; }
  #origins .origins-prose .en { font-size: 25px; line-height: 1.55; }
}
@media (max-width: 760px) {
  #origins .origins-opening { aspect-ratio: 4 / 3; min-height: 350px; max-height: 660px; }
  #origins .origins-opening-art { background-position: 44% center; }
  #origins .origins-title-wrap { width: 88%; padding-top: 65px; }
  #origins #origins-title { font-size: clamp(51px, 9vw, 72px); line-height: 1.5; }
  #origins #origins-title .ui-en { font-size: .78em; }
  #origins .origins-title-rule { margin-top: 15px; width: 58px; }
  #origins .origins-reading { padding: 18px 27px 62px; }
  #origins .origins-columns { grid-template-columns: 1fr; gap: 55px; max-width: 600px; }
  #origins .origins-column { padding-top: 20px; }
  #origins .origins-column-heading { margin-bottom: 23px; }
  #origins .origins-column h3 { font-size: 49px; }
  #origins .origins-prose .ar { font-size: 24px; line-height: 2.1; }
  #origins .origins-prose .en { font-size: 25px; line-height: 1.6; }
  #origins .origins-end-mark { margin-top: 54px; }
}
