:root {
  --white: #ffffff;
  --paper: #f3f2ee;
  --ink: #121521;
  --ink-soft: #4a4f63;
  --muted: #5c6070;
  --navy: #1c2340;
  --gold: #9c7a32;
  --line: #e3e1da;
  --crease: #efede7;
  --display: "Tenor Sans", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

html[lang="ar"] {
  --display: "Reem Kufi", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --body: "IBM Plex Sans Arabic", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(16px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand svg { width: 30px; height: 30px; flex-shrink: 0; }

.brand span {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.24em;
}

html[lang="ar"] .brand span { letter-spacing: 0; font-size: 20px; font-weight: 500; }

.lang-switch {
  border: 1px solid var(--line);
  padding: 5px 14px;
  text-decoration: none;
  font-size: 15px;
}

.lang-switch:hover { border-color: var(--ink); }

.hero {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 7vw, 112px);
  overflow: hidden;
}

.creases {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

html[lang="ar"] .eyebrow { font-size: 15px; letter-spacing: 0; }

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 80px);
  line-height: 1.05;
  text-wrap: balance;
}

html[lang="ar"] h1 { font-weight: 500; line-height: 1.3; }

.lede { margin: 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); }

html[lang="ar"] .lede { line-height: 1.85; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--paper);
  padding: 8px 14px;
  font-size: 15px;
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--navy);
}

.button.primary { background: var(--navy); color: var(--white); }
.button.primary:hover { background: #2a3458; }
.button.secondary:hover { background: var(--paper); }

.contact-line { margin: 0; font-size: 15px; color: var(--muted); }
.contact-line a { color: var(--ink); text-underline-offset: 4px; }

.hero-art {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  max-width: 100%;
}

.diamond {
  position: absolute;
  inset: 12%;
  transform: rotate(45deg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(18, 21, 33, 0.18);
}

.diamond img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 142%;
  height: 142%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 45%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px clamp(16px, 5vw, 56px);
  background: var(--navy);
  color: #c9ccd8;
  font-size: 14px;
}

.site-footer .slogan { font-family: var(--display); letter-spacing: 0.06em; color: #e8e3d6; }
html[lang="ar"] .site-footer .slogan { letter-spacing: 0; font-size: 16px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: #e8e3d6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: start; }
  .hero-art { order: -1; width: min(300px, 70vw); }
  .brand span { font-size: 14px; letter-spacing: 0.18em; }
  .site-footer { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .diamond { animation: settle 1.2s ease-out both; }
  @keyframes settle { from { transform: rotate(45deg) scale(0.94); opacity: 0.6; } to { transform: rotate(45deg) scale(1); opacity: 1; } }
}
