:root {
  color-scheme: light;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  color: #121513;
  background: #faf9f6;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #28636a;
  outline-offset: 6px;
}
.page {
  min-height: 100svh;
  max-width: 1600px;
  margin: auto;
  padding: 30px clamp(24px, 6vw, 96px) 26px;
  display: flex;
  flex-direction: column;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: block;
  width: 126px;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0);
}
.language {
  display: flex;
  padding: 4px;
  gap: 2px;
  border: 1px solid #dedfd8;
  border-radius: 5px;
}
.language a {
  min-width: 43px;
  min-height: 42px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
}
.language a[aria-current="page"] {
  color: #faf9f6;
  background: #121513;
}
.language a:not([aria-current]):hover {
  background: #eeece6;
}
main {
  flex: 1;
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
  padding: 70px 0 80px;
}
p {
  margin: 0;
}
.eyebrow {
  color: #64716b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(68px, 8.4vw, 128px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.075em;
  margin: 28px 0 32px;
}
.intro {
  max-width: 520px;
  font-size: 19px;
  line-height: 1.65;
  letter-spacing: -0.025em;
  color: #6a726c;
}
.intro strong {
  color: #121513;
  font-weight: 700;
}
.message {
  max-width: 490px;
  color: #656a64;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 18px;
}
.contact {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 38px;
  padding: 16px 21px;
  background: #eaece4;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition:
    background 0.2s,
    color 0.2s;
}
.contact:hover {
  background: #28636a;
  color: white;
}
.contact span {
  font-size: 22px;
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.error-page .sign {
  animation: none;
}
.error-page h1 {
  font-size: clamp(42px, 10vw, 98px);
}
.symbol {
  width: 100%;
  max-width: 480px;
  justify-self: end;
  aspect-ratio: 1;
}
.sign {
  display: block;
  width: 100%;
  height: auto;
  animation: turn 90s linear infinite;
}
.paused .sign {
  animation-play-state: paused;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid #dedfd8;
  color: #6a726c;
  font-size: 11px;
}
.signature {
  display: flex;
  align-items: center;
  gap: 20px;
}
.signature [lang="ar"] {
  font-family: Arial, sans-serif;
  font-size: 20px;
}
.signature span + span {
  padding-left: 20px;
  border-left: 1px solid #d4d8cf;
}
.credit {
  white-space: nowrap;
}
.motion {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 10px;
}
.motion[hidden] {
  display: none;
}
.motion-icon {
  font-size: 14px;
}
@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1000px) {
  main {
    gap: 40px;
  }
  .intro {
    font-size: 17px;
  }
  footer {
    flex-wrap: wrap;
  }
  .motion {
    margin-left: auto;
  }
}
@media (max-width: 700px) {
  .page {
    padding-top: 20px;
  }
  .brand {
    width: 100px;
  }
  main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    padding: 48px 0;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  h1 {
    font-size: clamp(65px, 15vw, 100px);
    margin: 24px 0;
  }
  .intro {
    font-size: 16px;
    max-width: 500px;
  }
  .message {
    font-size: 12px;
  }
  .contact {
    margin-top: 24px;
    font-size: 12px;
  }
  .symbol {
    width: clamp(150px, 44vw, 230px);
    align-self: center;
  }
  footer {
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    font-size: 10px;
  }
  .signature {
    width: 100%;
    gap: 16px;
  }
  .signature span + span {
    padding-left: 16px;
  }
  .signature [lang="ar"] {
    font-size: 18px;
  }
  .motion {
    max-width: 150px;
    font-size: 9px;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
