@font-face {
  font-family: "Nimbus Sans";
  src: url("assets/NimbusSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nimbus Sans";
  src: url("assets/NimbusSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/Cairo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --deep: #02291c;
  --emerald: #084c29;
  --gold: #c58724;
  --ivory: #fbf8ef;
  --mist: #dfe7df;
  --muted: #9eb1a6;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ivory);
  background:
    linear-gradient(120deg, rgba(2, 41, 28, .98) 0%, rgba(2, 41, 28, .95) 55%, rgba(5, 55, 35, .96) 100%),
    var(--deep);
  font-family: "Nimbus Sans", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image:
    linear-gradient(rgba(251, 248, 239, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 248, 239, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 74% 50%, #000, transparent 67%);
}

.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.glow-one { width: 680px; height: 680px; right: -260px; top: -210px; background: radial-gradient(circle, rgba(197,135,36,.16), transparent 68%); }
.glow-two { width: 520px; height: 520px; left: -300px; bottom: -300px; background: radial-gradient(circle, rgba(8,76,41,.72), transparent 70%); }

.shell {
  position: relative;
  z-index: 1;
  width: min(1480px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 54px clamp(28px, 6vw, 92px) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr);
  grid-template-rows: auto 1fr auto;
  gap: 28px 80px;
}

.brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 19px; width: fit-content; }
.brand-mark { width: 62px; height: 59px; color: var(--ivory); }
.brand-copy { padding-left: 18px; border-left: 1px solid rgba(197,135,36,.58); }
.wordmark { font-weight: 700; font-size: 34px; line-height: .9; letter-spacing: -1.3px; }
.tagline { margin-top: 10px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

.hero { align-self: center; max-width: 780px; padding: 40px 0 50px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid rgba(197,135,36,.38); border-radius: 999px; color: #e5c587; background: rgba(197,135,36,.07); font-size: 11px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(197,135,36,.55); animation: status-pulse 2.2s infinite; }
.eyebrow { margin: 44px 0 16px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 3.2px; text-transform: uppercase; }
h1 { margin: 0; max-width: 780px; font-size: clamp(54px, 7.2vw, 102px); line-height: .9; letter-spacing: -4.6px; font-weight: 700; }
h1 em { color: transparent; -webkit-text-stroke: 1px rgba(251,248,239,.75); font-style: normal; }
.intro { max-width: 650px; margin: 34px 0 0; color: var(--mist); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.65; letter-spacing: .18px; }

.pillars { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(251,248,239,.16); }
.pillars div { padding: 20px 22px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.pillars strong { color: var(--gold); font-size: 11px; letter-spacing: 1.5px; }
.pillars span { color: var(--ivory); font-size: 12px; font-weight: 700; letter-spacing: 1.15px; }

.gateway-visual { align-self: center; justify-self: center; width: min(100%, 510px); text-align: center; }
.emblem-stage { position: relative; width: min(31vw, 360px); aspect-ratio: 1; margin: auto; display: grid; place-items: center; animation: reveal 1.2s cubic-bezier(.2,.7,.2,1) both; }
.emblem-stage::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(197,135,36,.11) 0, rgba(8,76,41,.08) 40%, transparent 70%); filter: blur(12px); }
.emblem-stage img { position: relative; width: 78%; height: auto; filter: drop-shadow(0 25px 40px rgba(0,0,0,.18)); }
.gateway-visual p { margin: 25px 0 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; }

footer { grid-column: 1 / -1; min-height: 48px; padding-top: 20px; border-top: 1px solid rgba(251,248,239,.13); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 35px; color: var(--muted); font-size: 11px; letter-spacing: .75px; }
footer p { margin: 0; }
.arabic { font-family: "Cairo", Tahoma, sans-serif; color: #d6ded8; font-size: 12px; letter-spacing: 0; }
footer a { color: #e5c587; text-decoration: none; transition: color .2s ease; }
footer a:hover { color: var(--ivory); }

@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(197,135,36,.55); } 70% { box-shadow: 0 0 0 8px rgba(197,135,36,0); } 100% { box-shadow: 0 0 0 0 rgba(197,135,36,0); } }
@keyframes reveal { from { opacity: 0; transform: scale(.9) rotate(-3deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; gap: 12px; }
  .brand { grid-column: 1; }
  .hero { padding-bottom: 10px; }
  .gateway-visual { width: 100%; padding: 20px 0 35px; }
  .emblem-stage { width: min(62vw, 360px); }
  footer { grid-column: 1; grid-template-columns: 1fr auto; }
  .arabic { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { padding: 30px 22px 24px; }
  .brand-mark { width: 50px; height: 48px; }
  .wordmark { font-size: 29px; }
  .tagline { font-size: 8px; letter-spacing: 1.45px; }
  .hero { padding-top: 54px; }
  .eyebrow { margin-top: 34px; }
  h1 { font-size: clamp(49px, 15vw, 72px); line-height: .92; letter-spacing: -2.6px; }
  .intro { font-size: 16px; line-height: 1.58; }
  .pillars { grid-template-columns: 1fr; }
  .pillars div { flex-direction: row; align-items: center; border-bottom: 1px solid rgba(251,248,239,.09); padding: 13px 0; gap: 18px; }
  .emblem-stage { width: 70vw; }
  footer { grid-template-columns: 1fr; gap: 13px; }
  .copyright { opacity: .75; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
