@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif Display";
  src: url("/assets/fonts/NotoSerifDisplay-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/fonts/NotoSansArabic-arabic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  color-scheme: light;
  --color-cherry: #8B263B;
  --color-ivory: #F4F0E9;
  --color-ink: #14252A;
  --color-taupe: #B9A99A;
  --color-paper: #EAE4DB;
  --color-copy: #425054;
  --color-rule: rgb(20 37 42 / 18%);
  --font-display: "Noto Serif Display", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-arabic: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--color-ivory);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--color-ink);
  background: var(--color-ivory);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.095;
  background-image: radial-gradient(rgb(40 31 26 / 34%) 0.35px, transparent 0.55px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

.site-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 1920px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(26px, 3.5vw, 54px) clamp(26px, 5.4vw, 104px) 26px;
  overflow: hidden;
  isolation: isolate;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 36px;
}

.wordmark {
  display: inline-flex;
  min-height: 44px;
  align-items: baseline;
  gap: 12px;
  color: var(--color-ink);
  text-decoration: none;
}

.wordmark-latin {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 1;
}

.wordmark-arabic {
  color: var(--color-cherry);
  font-family: var(--font-arabic);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.status {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--color-cherry);
  animation: status-breathe 3.8s ease-in-out infinite;
}

.status-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgb(139 38 59 / 25%);
  border-radius: 50%;
  content: "";
}

.hero {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  min-height: min(760px, calc(100svh - 172px));
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  padding-bottom: 0;
  animation: arrive 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1 {
  max-width: 100%;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(62px, 6.55vw, 98px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.hero-supporting {
  max-width: 390px;
  margin: clamp(24px, 3vw, 36px) 0 0;
  color: var(--color-copy);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

.crane-artwork {
  position: absolute;
  z-index: 1;
  right: -5.5vw;
  bottom: 0;
  display: block;
  width: clamp(620px, 53vw, 900px);
  max-height: min(82vh, 760px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 52px;
  gap: 18px;
  border-top: 1px solid var(--color-rule);
  color: var(--color-copy);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer-brand [lang="ar"] {
  font-family: var(--font-arabic);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.footer-location {
  text-align: right;
}

@keyframes arrive {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}

@keyframes status-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.58; }
}

@media (max-width: 900px) {
  .site-shell {
    padding: 25px clamp(24px, 5vw, 42px) 22px;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .hero-copy {
    width: min(100%, 660px);
    padding: clamp(62px, 9vh, 92px) 0 0;
  }

  .hero-supporting {
    max-width: 420px;
    margin-top: 24px;
  }

  h1 {
    font-size: clamp(58px, 8.5vw, 80px);
  }

  .crane-artwork {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: center;
    width: min(58vw, 440px);
    max-height: none;
    margin: -18px auto -8px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    row-gap: 8px;
    padding-top: 13px;
  }

  .footer-location {
    text-align: right;
  }

}

@media (max-width: 600px) {
  .site-shell {
    padding: 20px 22px 20px;
  }

  .wordmark {
    gap: 9px;
  }

  .wordmark-latin {
    font-size: 23px;
  }

  .wordmark-arabic {
    font-size: 15px;
  }

  .status {
    gap: 9px;
    font-size: 12px;
    letter-spacing: 0.085em;
  }

  .status-dot {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
  }

  .hero-copy {
    padding-top: clamp(55px, 8vh, 70px);
  }

  h1 {
    font-size: clamp(49px, 12.8vw, 62px);
    letter-spacing: -0.06em;
    line-height: 1.01;
  }

  .hero-supporting {
    max-width: 370px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
  }

  .crane-artwork {
    width: min(74vw, 320px);
    margin: -5px auto 0;
  }

  .site-footer {
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding-top: 12px;
    font-size: 12px;
  }

  .footer-brand {
    font-size: 11px;
  }

  .footer-brand [lang="ar"] {
    font-size: 13px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
