@font-face {
  font-family: HatoArabic;
  src: url("assets/fonts/arabic-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: HatoArabic;
  src: url("assets/fonts/arabic-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: HatoLatin;
  src: url("assets/fonts/latin-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #101820;
  --banner: #13232e;
  --ink: #1b2631;
  --gold: #b58a3a;
  --gold-ink: #78571d;
  --champagne: #d7b676;
  --pale: #f6f0e3;
  --canvas: #f5f6f8;
  --line: #e9ebee;
  --muted: #556371;
  --on-dark: #b9c7d0;
  --radius: 12px;
  --space: clamp(3rem, 5.8vw, 5.3rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 1rem/1.8 HatoArabic, HatoLatin, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
:lang(en), [dir="ltr"] { font-family: HatoLatin, HatoArabic, Arial, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.48; }
html[lang="en"] :is(h1, h2, h3) { line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 3.85vw, 3.65rem); }
h2 { font-size: clamp(1.8rem, 3.05vw, 2.75rem); }
h3, .detail-h2 { font-size: clamp(1.15rem, 1.7vw, 1.43rem); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.shell { width: min(78rem, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.glyph {
  width: 1.2em;
  height: 1.2em;
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: fixed;
  z-index: 8;
  inset: .6rem auto auto 1rem;
  transform: translateY(-180%);
  background: #fff;
  color: var(--navy);
  padding: .5rem 1rem;
}
.skip:focus { transform: none; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid #ffffff1c;
}
.top-inner, .top nav, .top-actions, .footer-inner, .footer-links, .hero-actions, .card-actions {
  display: flex;
  align-items: center;
}
.top-inner { min-height: 4.55rem; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 4px; }
.brand img { width: 10.35rem; }
.top nav { column-gap: clamp(.65rem, 1.65vw, 1.7rem); }
.top nav a, .footer-links a { text-decoration: none; }
.top nav a {
  position: relative;
  padding: .45rem .14rem;
  color: #d4dce3;
  font-size: .94rem;
  font-weight: 700;
  white-space: nowrap;
}
.top nav a:is(:hover, [aria-current], .section-parent) { color: var(--champagne); }
.top nav a:is([aria-current], .section-parent)::after {
  content: "";
  position: absolute;
  inset-inline: .14rem;
  bottom: -.25rem;
  height: 2px;
  background: var(--gold);
}
.top-actions { gap: .55rem; flex: none; }
.button, .language, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.9rem;
  padding: .58rem 1.22rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.55;
  text-align: center;
  text-decoration: none;
  transition: background .16s, border-color .16s, color .16s;
}
.button { color: var(--navy); background: var(--gold); }
.button:hover { background: #c49a4e; }
.button.mini { white-space: nowrap; min-height: 2.55rem; padding: .45rem .95rem; font-size: .9rem; }
.language, .menu-toggle {
  min-height: 2.55rem;
  padding: .4rem .65rem;
  font-size: .88rem;
  color: #eef2f5;
  background: transparent;
  border-color: #43515d;
}
.language:hover, .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: #253640; border-color: var(--gold); }
.language { direction: ltr; }
.language .glyph { width: 1rem; height: 1rem; }
.menu-toggle { display: none; }
.outline { color: var(--ink); background: transparent; border-color: #aab3ba; }
.outline:hover { background: #edf0f2; border-color: #677680; }

.hero, .inner-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--banner);
}
.hero::before, .inner-hero::before, .quote-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#adbdca0b 1px, transparent 1px), linear-gradient(90deg, #adbdca0b 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(150deg, #000, transparent 76%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: clamp(26rem, 36vw, 33rem);
}
.hero-copy { padding-block: clamp(2.5rem, 4.8vw, 4.55rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .66rem;
  margin-bottom: .75rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 1.65rem; height: 2px; flex: none; background: var(--gold); }
.hero .eyebrow, .inner-hero .eyebrow, .quote-copy .eyebrow { color: var(--champagne); }
.hero h1 { max-width: 19ch; }
html[lang="ar"] .hero h1 { max-width: none; }
.hero h1 em { color: var(--champagne); font-style: normal; }
.hero-intro, .inner-lead { color: var(--on-dark); font-size: clamp(1rem, 1.28vw, 1.135rem); line-height: 1.9; }
.hero-intro { margin-block: 1.1rem 1.7rem; max-width: 52ch; }
.hero-actions { gap: .7rem; flex-wrap: wrap; }
.hero .outline, .inner-hero .outline { color: #f2f4f6; border-color: #71818c; }
.hero .outline:hover, .inner-hero .outline:hover { background: #243843; border-color: var(--champagne); }
.hero-visual {
  min-width: 0;
  position: relative;
  align-self: center;
  margin-inline: -1rem -2.3rem;
  padding-block: 1.25rem 1.5rem;
}
.hero-visual img {
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent 0, #000 9%, #000 90%, transparent);
  mask-composite: intersect;
}
.hero-visual figcaption {
  text-align: center;
  margin-top: .4rem;
  color: #aab9c4;
  font-size: .8rem;
}

.catalog, .inner-catalog { background: var(--canvas); }
.catalog { padding-block: var(--space); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .85fr);
  align-items: end;
  column-gap: 4rem;
  margin-bottom: clamp(1.5rem, 2.7vw, 2.2rem);
}
.section-heading .eyebrow { grid-column: 1; }
.section-heading h2 { grid-column: 1; }
.section-heading > p:last-child { grid-column: 2; grid-row: 2; max-width: 44ch; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.65vw, 1.4rem); }
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.35rem, 2.1vw, 1.95rem);
  border: 1px solid #e1e5e9;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 3px 10px #10182005;
}
.card:focus-within { border-color: var(--gold); }
.card-icon, .step-icon {
  display: grid;
  place-items: center;
  width: 3.3rem;
  aspect-ratio: 1;
  border-radius: 10px;
  color: var(--gold-ink);
  background: var(--pale);
}
.card-icon .glyph { width: 1.7rem; height: 1.7rem; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; width: 100%; margin-top: 1.1rem; }
.card-copy p { margin-top: .48rem; color: var(--muted); }
.tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.05rem;
}
.tags span {
  padding: .14rem .57rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--canvas);
  color: #485865;
  font-size: .875rem;
}
.card-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .45rem .9rem;
  width: 100%;
  padding-top: 1rem;
  margin-top: auto;
}
.card-actions::before { content: ""; flex: 0 0 100%; border-top: 1px solid var(--line); margin-block: .3rem .38rem; }
.textlink { color: var(--gold-ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.textlink:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.detail-link { color: var(--ink); }

.process {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.58fr);
  align-items: center;
  gap: clamp(2rem, 5.5vw, 5rem);
  padding-block: var(--space);
}
.process-intro { color: var(--muted); margin-top: .75rem; max-width: 42ch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 3.65rem;
  inset-inline-end: -.8rem;
  top: 1.38rem;
  border-top: 1px solid #d9c8aa;
}
.step-icon { width: 2.8rem; background: #f8f9fa; border: 1px solid var(--line); color: var(--gold-ink); }
.step-icon .glyph { width: 1.38rem; height: 1.38rem; }
.steps h3 { margin-block: .85rem .3rem; font-size: 1.09rem; }
.steps p { color: var(--muted); }

.quote { padding-block: var(--space); background: var(--canvas); border-block: 1px solid var(--line); }
.quote-grid {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  border: 1px solid #dce1e5;
  border-radius: var(--radius);
  background: #fff;
}
.quote-copy, .quote-box { padding: clamp(1.5rem, 3.7vw, 3.5rem); }
.quote-copy { position: relative; isolation: isolate; background: var(--banner); color: #fff; }
.quote-copy::after { z-index: -1; mask-image: linear-gradient(30deg, #000, transparent 80%); }
.quote-copy :is(h1, h2) { font-size: clamp(1.85rem, 3vw, 2.8rem); }
.quote-copy > p:not(.eyebrow) { color: var(--on-dark); margin-top: .9rem; max-width: 42ch; }
.quote-copy .form-note { padding-inline-start: .85rem; border-inline-start: 2px solid var(--gold); font-size: .92rem; }
.quote-copy > .form-note { margin-top: 1.6rem; }
.quote-box form, .result { display: grid; gap: .45rem; }
form label:not(:first-child) { margin-top: .45rem; }
form label, .result label { font-size: .94rem; font-weight: 700; }
input, textarea, select {
  min-height: 2.85rem;
  width: 100%;
  min-width: 0;
  padding: .54rem .8rem;
  border: 1px solid #bdc6cd;
  border-radius: 7px;
  color: var(--ink);
  background-color: #fff;
}
textarea { resize: vertical; }
::placeholder { color: #687580; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: 2px solid #b58a3a60; outline-offset: 1px; }
select {
  cursor: pointer;
  appearance: none;
  padding-inline-end: 2.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23556371' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left .9rem center;
}
html[dir="ltr"] select { background-position: right .9rem center; }
form .button, .result .button { justify-self: start; margin-top: .65rem; }
.result { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.result textarea { background: #fafbfc; }
.result p { color: var(--gold-ink); }

.inner-hero-grid { position: relative; display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; gap: 2rem; }
.inner-hero-copy { padding-block: clamp(2.6rem, 4.7vw, 4.5rem); }
.inner-lead { margin-block: .75rem 1.45rem; max-width: 54ch; }
.banner-art { width: 18rem; height: 11.8rem; position: relative; justify-self: center; direction: ltr; }
.banner-art::before {
  content: ""; position: absolute; inset: -22% -12%;
  background-image: linear-gradient(#9cb4c316 1px, transparent 1px), linear-gradient(90deg, #9cb4c316 1px, transparent 1px);
  background-size: 25px 25px;
  transform: rotate(-15deg);
  mask-image: radial-gradient(ellipse, #000 15%, transparent 70%);
}
.art-tile {
  position: absolute; display: grid; place-items: center;
  border: 1px solid #6f808766; border-radius: 13px; background: #21333d;
  color: var(--champagne); box-shadow: -9px 14px 0 #0a151961;
}
.art-tile .glyph { width: 47%; height: 47%; }
.tile-one { width: 7.2rem; height: 7.2rem; left: 3.7rem; top: .65rem; transform: rotate(-12deg); z-index: 1; }
.tile-two { width: 6.3rem; height: 6.3rem; left: 10.6rem; top: 2.9rem; transform: rotate(12deg); }
.tile-three { width: 4.65rem; height: 4.65rem; left: .9rem; top: 6.1rem; transform: rotate(-8deg); z-index: 2; background: #ba9550; border-color: #dfb867; color: var(--navy); }
.inner-catalog { position: relative; padding-block: clamp(2rem, 4.5vw, 4.25rem); }
.inner-catalog .tags { margin-top: .9rem; }
.detail-next { padding-block: clamp(2rem, 4vw, 3.7rem); }
.detail-next > .shell { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.detail-next h2 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
.detail-next p { margin-top: .5rem; color: var(--muted); max-width: 65ch; }
.detail-next .button { flex-shrink: 0; }

.footer { background: var(--navy); color: #e0e5e9; }
.footer-inner { justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding-block: 1.65rem; }
.footer-brand { display: flex; align-items: center; gap: 1.3rem; }
.footer-brand img { width: 10rem; }
.footer-brand p { color: #b7c2cb; font-size: .9rem; }
.footer-links { gap: 1.3rem; flex-wrap: wrap; font-size: .95rem; }

@media (max-width: 1050px) {
  .top-inner { gap: .8rem; }
  .top nav { gap: .65rem; }
  .brand img { width: 8.7rem; }
  .process { grid-template-columns: 1fr; gap: 1.7rem; }
  .process-intro { max-width: 55ch; }
}
@media (max-width: 860px) {
  .top-inner { flex-wrap: wrap; padding-block: .62rem; }
  .top nav { order: 3; width: 100%; flex-wrap: wrap; }
  .with-menu .top-inner { flex-wrap: nowrap; min-height: 4.15rem; }
  .with-menu .menu-toggle { display: inline-flex; }
  .with-menu .top nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    padding: .65rem max(1rem, 4vw) .85rem;
    background: var(--navy); border-bottom: 1px solid #43515d; box-shadow: 0 12px 18px #10182022;
  }
  .with-menu .top nav.is-open { display: grid; gap: .15rem; }
  .with-menu .top nav a { padding: .5rem .75rem; border-radius: 5px; }
  .with-menu .top nav a:is([aria-current], .section-parent) { background: #b58a3a20; }
  .with-menu .top nav a::after { display: none; }
  .section-heading { column-gap: 2rem; }
  .card { padding: 1.2rem; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 5rem; }
  .hero-inner, .section-heading, .quote-grid, .cards, .inner-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { min-height: auto; gap: 0; }
  .hero-copy { padding-block: 2.2rem .45rem; }
  .hero h1 { font-size: clamp(2.05rem, 7.5vw, 3.15rem); }
  .hero-intro { margin-block: .7rem 1.1rem; }
  .hero-visual { width: min(100%, 30rem); margin: .35rem auto 0; padding-block: .1rem 1.15rem; }
  .hero-visual figcaption { margin-top: .1rem; }
  .section-heading > p:last-child { grid-column: 1; grid-row: auto; margin-top: .45rem; }
  .card { padding: 1.45rem; }
  .card-icon { width: 2.95rem; }
  .card-copy { margin-top: .85rem; }
  .card-actions { padding-top: .8rem; }
  .inner-hero-grid { gap: 0; }
  .inner-hero-copy { padding-block: 2.6rem; }
  .banner-art { display: none; }
  .detail-next > .shell { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .footer-brand { flex-wrap: wrap; gap: .45rem 1rem; }
}
@media (max-width: 530px) {
  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .steps li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: .1rem .8rem; align-items: start; }
  .step-icon { grid-row: 1 / span 2; }
  .steps h3 { margin-block: 0; }
  .steps p { grid-column: 2; }
  .steps li:not(:last-child)::after { inset-inline-start: 1.36rem; inset-inline-end: auto; top: 3.15rem; bottom: -.85rem; border-top: 0; border-inline-start: 1px solid #d9c8aa; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 430px) {
  .brand img { width: clamp(6.25rem, 27vw, 7.3rem); }
  .top-inner, .top-actions { gap: .35rem; }
  .button.mini, .language, .menu-toggle { min-height: 2.5rem; padding: .4rem .55rem; }
  .language .glyph { display: none; }
  .hero-actions .button { padding-inline: .9rem; font-size: .94rem; }
  .footer-brand img { width: 9rem; }
}
@media (max-width: 360px) {
  .top-inner { width: calc(100% - 1.1rem); }
  .top .brand img { width: 5.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
