@font-face {
  font-family: "Plex Arabic";
  src: url("./ibm-plex-arabic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  background: #d3eaff;
  color: #303a40;
  font-family: "Plex Arabic", Tahoma, sans-serif;
  letter-spacing: 0;
}

body { margin: 0; }

.landing {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  min-height: max(640px, 100svh);
  overflow: hidden;
}

.architecture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.architecture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.identity {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  margin-inline: auto;
  padding: max(64px, 17svh) 24px 40px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 80px;
  line-height: 1.35;
  font-weight: 400;
}

p { margin: 0; }

.name-english,
.descriptor-english {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
}

.name-english {
  margin-top: 4px;
  font-size: 29px;
  line-height: 1.45;
}

.descriptor-arabic {
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.5;
}

.descriptor-english {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 600px) and (orientation: portrait) {
  .landing { min-height: max(620px, 100svh); }
  .identity { padding-top: max(88px, 20svh); }
  h1 { font-size: 56px; }
  .name-english { font-size: 23px; }
  .descriptor-arabic { margin-top: 14px; font-size: 21px; }
  .descriptor-english { font-size: 11px; }
}

@media (min-aspect-ratio: 3/2) and (min-width: 601px) {
  .identity { padding-top: max(20px, 3svh); }
  h1 { font-size: 64px; }
  .name-english { font-size: 24px; }
  .descriptor-arabic { margin-top: 8px; font-size: 20px; }
}

@media (min-aspect-ratio: 2/1) {
  .architecture img { object-position: center top; }
}
