@font-face {
  font-family: "Oman Botanic Garden";
  src: url("Fonts/OmanBotanicGarden-Bd.woff2") format("woff2"),
       url("Fonts/OmanBotanicGarden-Bd.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oman Botanic Garden Arabic";
  src: url("Fonts/OmanBotanicGardenARalt-Bd.woff2") format("woff2"),
       url("Fonts/OmanBotanicGardenARalt-Bd.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }

body {
  color: #005909;
  background: #f9fafc;
  font-family: "Oman Botanic Garden", Arial, sans-serif;
}

.coming-soon {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.background {
  position: absolute;
  inset: 0;
}

.photo-window {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 71%;
  height: 100%;
  overflow: hidden;
}

.garden-photo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ribbon {
  position: absolute;
  top: 0;
  left: 29%;
  width: calc(100dvh * 807 / 1083);
  height: 100%;
  pointer-events: none;
}

.ribbon-motion { position: relative; z-index: 1; width: 100%; height: 100%; }

.ribbon-backing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ribbon img {
  display: block;
  width: 100%;
  height: 100%;
}

.background, .ribbon { pointer-events: none; }

.content {
  z-index: 1;
}

.content {
  position: relative;
  width: 42.7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: min(8.75vw, 15.55dvh) 16px min(5.6vw, 9.95dvh);
}

.logo-control {
  display: block;
  width: min(16.875vw, 30dvh);
  max-width: 100%;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.logo-control:focus-visible {
  outline: 2px solid #005909;
  outline-offset: 8px;
  border-radius: 8px;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.message {
  width: 100%;
  margin: min(9.5vw, 16.89dvh) 0 0;
  font-size: min(2.125vw, 3.778dvh, 44px);
  font-weight: 700;
  text-align: center;
}

.message span { display: block; }

.arabic {
  font-family: "Oman Botanic Garden Arabic", Tahoma, sans-serif;
  line-height: 1.55;
}

.english { margin-top: min(2.125vw, 3.778dvh); line-height: 1.6; }

@media (max-aspect-ratio: 1/1) {

  .photo-window {
    top: min(35dvh, calc(100dvh - 100vw * 807 / 1083));
    width: 100%;
    height: max(65dvh, calc(100vw * 807 / 1083));
  }

  .ribbon {
    top: min(35dvh, calc(100dvh - 100vw * 807 / 1083));
    left: 0;
    width: 100%;
    height: calc(100vw * 807 / 1083);
  }

  .ribbon img, .ribbon-backing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100vw * 807 / 1083);
    height: 100vw;
    max-width: none;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .content {
    width: 100%;
    min-height: 0;
    padding: min(7.67vw, 3.55dvh, 64px) 12px 0;
  }

  .logo-control { width: min(28.13vw, 13.04dvh, 220px); }

  .message {
    margin-top: min(9.2vw, 4.27dvh, 64px);
    padding-top: 0;
    font-size: min(4.6vw, 2.13dvh, 34px);
  }

  .arabic { line-height: 1.65; }
  .english { margin-top: min(3.84vw, 1.78dvh, 28px); line-height: 1.6; }
}
