@font-face {
  font-family: "Seasons";
  src: url(fonts/Seasons-Light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Seasons";
  src: url(fonts/Seasons-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Seasons";
  src: url(fonts/Seasons-Italic.ttf) format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Seasons";
  src: url(fonts/Seasons-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url(fonts/Tajawal-Regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url(fonts/Tajawal-Medium.ttf) format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url(fonts/Tajawal-Bold.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper2: #f3ecd8;
  --g1: #151c16;
  --g2: #704d16;
  --g3: #475330;
  --brass: #a8832f;
  --brass-l: #d8b461;
  --ivory: #f0e7cb;
  --paper: #f8f2e4;
  --ink: #1f3b2a;
  --terra: #b5502f;
  --kufi: "Seasons", "Tajawal", serif;
  --naskh: "Seasons", "Tajawal", serif;
  --lat: "Seasons", "Tajawal", serif;
  --serif: "Seasons", "Tajawal", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --nav: 68px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  font-synthesis: none;
}
body {
  background: var(--g1);
  color: var(--ivory);
  font-family: var(--naskh);
  font-size: 19px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--brass);
  color: var(--g1);
}
.wrap {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}
.eyebrow {
  font-family: var(--lat);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-l);
}
.kufi {
  font-family: var(--kufi);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav);
  z-index: 50;
  display: flex;
  align-items: center;
  transition:
    background 0.5s,
    backdrop-filter 0.5s,
    transform 0.6s var(--ease);
}
.nav.solid {
  background: rgba(21, 28, 22, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(168, 131, 47, 0.22);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  font-family: var(--naskh);
  font-size: 17px;
}
.nav ul a {
  position: relative;
  padding: 6px 0;
  opacity: 0.72;
  transition: opacity 0.3s;
}
.nav ul a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--brass-l);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.nav ul a:hover,
.nav ul a.on {
  opacity: 1;
}
.nav ul a.on::after,
.nav ul a:hover::after {
  transform: scaleX(1);
}
.nav .tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang {
  font-family: var(--lat);
  font-size: 15px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border: 1px solid var(--brass);
  border-radius: 99px;
  color: var(--ivory);
  line-height: 1;
  transition:
    background 0.4s,
    color 0.4s;
}
.lang:hover {
  background: var(--brass);
  color: var(--g1);
}
[dir="ltr"] .wcard:hover .pick i {
  transform: translateX(8px);
}
[dir="ltr"] .h-title {
  text-align: left;
  max-width: min(560px, 46vw);
}
[dir="ltr"] .h-title h1 {
  font-size: clamp(40px, 4.1vw, 66px);
  line-height: 1.12;
}
.cta {
  font-family: var(--naskh);
  font-size: 17px;
  padding: 9px 22px;
  border: 1px solid var(--brass);
  border-radius: 99px;
  color: var(--ivory);
  transition:
    background 0.4s,
    color 0.4s;
}
.cta:hover {
  background: var(--brass);
  color: var(--g1);
}
.burger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.burger i {
  position: absolute;
  inset-inline: 9px;
  height: 1.5px;
  background: var(--ivory);
  transition:
    transform 0.4s var(--ease),
    top 0.4s;
}
.burger i:nth-child(1) {
  top: 15px;
}
.burger i:nth-child(2) {
  top: 24px;
}
.menu-open .burger i:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.menu-open .burger i:nth-child(2) {
  top: 20px;
  transform: rotate(-45deg);
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--g1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 90px 32px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.menu-open .sheet {
  opacity: 1;
  pointer-events: auto;
}
.sheet a {
  font-family: var(--kufi);
  font-size: 34px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(168, 131, 47, 0.25);
}

.nav.lt .cta {
  color: var(--ink);
}
.nav.lt .cta:hover {
  color: var(--ivory);
  background: var(--ink);
  border-color: var(--ink);
}
.nav.lt ul {
  color: var(--ink);
}
.nav.lt ul a::after {
  background: var(--brass);
}
.nav.lt .burger i {
  background: var(--ink);
}
.nav.lt .lang {
  color: var(--ink);
}
.nav.lt .lang:hover {
  color: var(--ivory);
  background: var(--ink);
  border-color: var(--ink);
}
.nav.solid.lt {
  background: rgba(246, 240, 224, 0.82);
  box-shadow: 0 1px 0 rgba(168, 131, 47, 0.3);
}
.nav .logo {
  position: relative;
  display: block;
  height: 30px;
  width: 121px;
}
.nav .logo img {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s;
}
[dir="ltr"] .nav .logo {
  width: 150px;
}
[dir="ltr"] .nav .logo img {
  inset: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: auto;
}
.endveil {
  position: absolute;
  inset: 0 0 auto 0;
  height: 175px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(#f1ead3 58%, rgba(241, 234, 211, 0));
}
.nav .logo .i {
  opacity: 0;
}
.nav.lt .logo .i {
  opacity: 1;
}
.nav.lt .logo .v {
  opacity: 0;
}
.rv {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 1s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.rv.in {
  opacity: 1;
  transform: none;
}
form {
  display: grid;
  gap: 14px;
}
.f2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: grid;
  gap: 5px;
  font-family: var(--naskh);
  font-size: 17px;
}
input,
textarea,
select {
  width: 100%;
  font: inherit;
  font-family: var(--naskh);
  font-size: 18px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(31, 59, 42, 0.35);
  padding: 8px 2px;
  border-radius: 0;
  outline: 0;
  transition: border-color 0.3s;
}
input:focus,
textarea:focus {
  border-color: var(--brass);
}
textarea {
  resize: vertical;
  min-height: 84px;
}
.radios {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radios label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 0;
}
.radios input {
  position: absolute;
  opacity: 0;
  width: 0;
}
.radios span {
  padding: 8px 18px;
  border: 1px solid rgba(31, 59, 42, 0.3);
  border-radius: 99px;
  font-size: 15px;
  transition: all 0.3s;
  cursor: pointer;
}
.radios input:checked + span {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn {
  font-family: var(--naskh);
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 99px;
  border: 1px solid var(--ink);
  transition: all 0.4s var(--ease);
}
.btn.p {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--g1);
}
.btn.p:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}
.btn:not(.p):hover {
  background: var(--ink);
  color: var(--ivory);
}
.contact {
  --g: var(--g1);
  --prev: var(--g1);
  background: var(--prev);
  padding: clamp(90px, 14vh, 160px) 0 60px;
}
.cg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
}
.clist {
  list-style: none;
  display: grid;
  gap: 18px;
  margin: 26px 0 34px;
}
.clist li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px solid rgba(168, 131, 47, 0.25);
  padding-bottom: 14px;
}
.clist b {
  font-family: var(--naskh);
  font-weight: 400;
  color: var(--brass-l);
  font-size: 15px;
}
.clist span {
  direction: auto;
}
.contact form input,
.contact form textarea {
  border-color: rgba(240, 231, 203, 0.35);
}
.contact form input:focus,
.contact form textarea:focus {
  border-color: var(--brass-l);
}
.contact .btn {
  border-color: var(--brass-l);
  color: var(--ivory);
}
.contact .btn.p {
  color: var(--g1);
}
.contact .btn:not(.p):hover {
  background: var(--ivory);
  color: var(--g1);
}
.toast {
  position: fixed;
  z-index: 80;
  bottom: 24px;
  inset-inline: 0;
  margin-inline: auto;
  width: max-content;
  max-width: 90vw;
  background: var(--ivory);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 99px;
  font-family: var(--kufi);
  font-size: 15px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(220%);
  opacity: 0;
  transition:
    transform 0.6s var(--ease),
    opacity 0.4s;
}
.toast.show {
  transform: none;
  opacity: 1;
}
/* ---------- shared header: pages ---------- */
body[data-nav="lt"] {
  background: var(--paper2);
  color: var(--ink);
}
.nav .logo {
  display: block;
}
.nav ul {
  gap: clamp(14px, 2vw, 30px);
  font-size: 16px;
}
.nav ul a.on {
  opacity: 1;
}
.nav ul a.on::after {
  transform: scaleX(1);
}
@media (max-width: 1180px) {
  .nav ul {
    gap: 14px;
    font-size: 15px;
  }
  .nav .cta {
    display: none;
  }
}
@media (max-width: 980px) {
  .nav ul {
    display: none;
  }
  .burger {
    display: block;
  }
}
.sheet a {
  font-size: 28px;
}
.sheet .sq {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  border: 0;
}
.sheet .sq a {
  border: 0;
  padding: 0;
}

/* ---------- shared footer ---------- */
.foot {
  position: relative;
  background: var(--g1);
  color: var(--ivory);
  padding: clamp(50px, 9vh, 90px) 0 34px;
  border-top: 1px solid rgba(168, 131, 47, 0.3);
}
.foot .fg {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.foot img.fl {
  height: 42px;
  width: auto;
}
.foot p {
  margin-top: 16px;
  max-width: 34ch;
  opacity: 0.78;
  font-size: 16px;
  line-height: 1.8;
}
.foot h4 {
  font-family: var(--lat);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-l);
  font-weight: 400;
  margin-bottom: 16px;
}
.foot ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-family: var(--kufi);
  font-size: 16px;
}
.foot ul a {
  opacity: 0.82;
  transition:
    opacity 0.3s,
    color 0.3s;
}
.foot ul a:hover {
  opacity: 1;
  color: var(--brass-l);
}
.foot .soc {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.foot .soc a {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216, 180, 97, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.5s var(--ease);
}
.foot .soc a:hover {
  background: var(--brass-l);
  color: var(--g1);
  transform: translateY(-4px);
}
.foot .soc svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.foot .cp {
  margin-top: clamp(34px, 6vh, 60px);
  padding-top: 20px;
  border-top: 1px solid rgba(168, 131, 47, 0.22);
  font-size: 14px;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 820px) {
  .foot .fg {
    grid-template-columns: 1fr;
  }
}
.pg {
  padding-top: var(--nav);
}

/* filter widgets */
.seg {
  position: relative;
  display: inline-flex;
  border: 1px solid rgba(168, 131, 47, 0.45);
  border-radius: 99px;
  padding: 3px;
  gap: 0;
  isolation: isolate;
}
.seg .pill {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  border-radius: 99px;
  background: var(--brass, #a8832f);
  z-index: -1;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.seg button {
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  padding: 7px 15px;
  border-radius: 99px;
  cursor: pointer;
  color: inherit;
  white-space: nowrap;
  transition: color 0.3s;
}
.seg button[aria-pressed="true"] {
  color: #151c16;
}
.bud {
  min-width: min(100%, 360px);
  width: 360px;
  max-width: 100%;
}
.bud .bt {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 14px;
}
.bud .bi {
  font-weight: 600;
}
.bud .bu {
  font-family: var(--lat);
  font-size: 12px;
  opacity: 0.7;
  direction: ltr;
}
.bud .rg {
  position: relative;
  height: 22px;
}
.bud .tk {
  position: absolute;
  inset-inline: 0;
  top: 9px;
  height: 4px;
  border-radius: 4px;
  background: rgba(168, 131, 47, 0.25);
}
.bud .tk i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: var(--brass, #a8832f);
}
.bud input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 22px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  direction: rtl;
}
html[dir="ltr"] .bud input[type="range"] {
  direction: ltr;
}
.bud input[type="range"]::-webkit-slider-runnable-track {
  background: none;
  height: 22px;
}
.bud input[type="range"]::-moz-range-track {
  background: none;
}
.bud input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ivory, #f6f0df);
  border: 2px solid var(--brass, #a8832f);
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.bud input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ivory, #f6f0df);
  border: 2px solid var(--brass, #a8832f);
  cursor: grab;
}
.bud input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.18);
  cursor: grabbing;
}

/* FAQ list (details/summary) and the text pages made in the panel */
.faq {
  position: relative;
  padding: clamp(40px, 7vh, 80px) 0 clamp(60px, 9vh, 110px);
}
.faq h2 {
  font-family: var(--kufi);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  margin: 0 0 22px;
}
.faq-i {
  border-bottom: 1px solid rgba(168, 131, 47, 0.3);
}
.faq-i summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ivory);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-i summary::-webkit-details-marker {
  display: none;
}
.faq-i summary::after {
  content: "+";
  color: var(--brass-l);
  font-size: 22px;
  line-height: 1;
}
.faq-i[open] summary::after {
  content: "–";
}
.faq-i p {
  margin: 0 0 18px;
  line-height: 2;
  opacity: 0.88;
  max-width: 70ch;
}
.xp {
  padding: calc(var(--nav) + clamp(30px, 6vh, 70px)) 0 clamp(60px, 9vh, 110px);
  min-height: 70vh;
}
.xp h1 {
  font-family: var(--kufi);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.2;
  margin: 0 0 26px;
  text-wrap: balance;
}
.xp h2 {
  font-family: var(--kufi);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 34px 0 10px;
  color: var(--brass-l);
}
.xp p {
  line-height: 2.05;
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 72ch;
  margin: 0 0 14px;
  white-space: pre-line;
}
.xp img {
  display: block;
  max-width: min(100%, 880px);
  height: auto;
  border-radius: 6px;
  margin: 22px 0;
}
