@font-face {
  font-family: "Tajawal";
  src: url("/assets/v/Tajawal-Regular.b62f0b5adde8.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("/assets/v/Tajawal-Bold.296dd46a38cb.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("/assets/v/Tajawal-ExtraBold.d0859ee81d76.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #050e0d;
  --canvas-deep: #020807;
  --surface: rgb(14 35 31 / 0.82);
  --surface-strong: #102e28;
  --text: #f3f1e9;
  --muted: #b6c3bb;
  --emerald: #1e8065;
  --emerald-soft: #65a98e;
  --gold: #c7a45a;
  --gold-bright: #e1c57f;
  --stroke: rgb(203 170 98 / 0.3);
  --shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.28);
}

html[data-theme="light"] {
  color-scheme: light;
  --canvas: #f7f3ea;
  --canvas-deep: #ebe4d6;
  --surface: rgb(255 252 245 / 0.86);
  --surface-strong: #fffaf0;
  --text: #15342d;
  --muted: #496159;
  --emerald: #17684f;
  --emerald-soft: #307b64;
  --gold: #866423;
  --gold-bright: #9b762d;
  --stroke: rgb(102 75 22 / 0.28);
  --shadow: 0 1.5rem 4rem rgb(39 57 49 / 0.12);
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  min-inline-size: 20rem;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -15%, rgb(31 111 84 / 0.19), transparent 34rem),
    var(--canvas);
  color: var(--text);
  font-family: "Tajawal", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

button,
a { font: inherit; }

a { color: inherit; }

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  min-block-size: 100svh;
  isolation: isolate;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-inline-size: 82rem;
  margin-inline: auto;
  padding: max(1rem, env(safe-area-inset-top)) clamp(1rem, 3vw, 2rem) 0.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-block-size: 3rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span { color: var(--gold); }

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.control-button {
  min-block-size: 3rem;
  padding-inline: 0.8rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgb(12 36 30 / 0.38);
  color: var(--text);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

html[data-theme="light"] .control-button { background: rgb(255 252 245 / 0.58); }

.control-button:hover { transform: translateY(-2px); border-color: var(--gold); }
.control-button:active { transform: translateY(0); }

.hero {
  position: relative;
  display: grid;
  place-items: start center;
  min-block-size: min(48rem, calc(100svh - 4.5rem));
  overflow: clip;
  padding: clamp(2.4rem, 6vw, 5rem) 1rem clamp(3.5rem, 8vw, 6.5rem);
}

.hero-cover {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-cover img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  opacity: 0.13;
}

html[data-theme="light"] .hero-cover img { opacity: 0.06; }

.hero::before {
  position: absolute;
  z-index: -2;
  inset-inline-start: 50%;
  inset-block-start: 10%;
  inline-size: min(58rem, 110vw);
  aspect-ratio: 1.8;
  border: 1px solid rgb(209 176 102 / 0.18);
  border-radius: 50%;
  content: "";
  opacity: 0.7;
  transform: translateX(-50%);
  animation: emerald-drift 17s ease-in-out infinite;
}

.hero-orbits,
.hero-orbits::before,
.hero-orbits::after {
  position: absolute;
  z-index: -1;
  inset-inline-start: 50%;
  border: 1px solid rgb(217 184 108 / 0.19);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-orbits {
  inset-block-start: 9%;
  inline-size: min(51rem, 104vw);
  aspect-ratio: 1.45;
  opacity: 0.85;
  transform: translateX(-50%) rotate(-7deg);
}

.hero-orbits::before {
  inset-block-start: 16%;
  inset-inline-start: -8%;
  inline-size: 116%;
  aspect-ratio: 1.65;
  opacity: 0.58;
  transform: rotate(24deg);
}

.hero-orbits::after {
  inset-block-start: 31%;
  inset-inline-start: 10%;
  inline-size: 80%;
  aspect-ratio: 1;
  border-color: rgb(31 127 98 / 0.32);
  opacity: 0.62;
}

.hero-content {
  inline-size: min(100%, 48rem);
  text-align: center;
}

.logo-stage {
  position: relative;
  inline-size: min(88vw, 40rem);
  margin-inline: auto;
  animation: intro-reveal 740ms cubic-bezier(.22, .75, .28, 1) both;
}

.logo-stage::after {
  position: absolute;
  inset: 7% -3%;
  border-radius: 45%;
  padding: 2px;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  background: linear-gradient(105deg, transparent 38%, rgb(226 195 121 / 0.08) 47%, rgb(226 195 121 / 0.36) 50%, rgb(226 195 121 / 0.08) 53%, transparent 62%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-130%);
  animation: satin-pass 15s ease-in-out 3s infinite;
}

.hero-logo {
  display: block;
  inline-size: 100%;
  block-size: auto;
}

.eyebrow {
  margin: clamp(0.4rem, 1.8vw, 1rem) auto 0;
  color: var(--gold-bright);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.015em;
}

h1,
h2,
p { margin-block: 0; }

h1 {
  max-inline-size: 18ch;
  margin: 0.55rem auto 0;
  color: var(--text);
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
}

.status-panel {
  max-inline-size: 42rem;
  margin: clamp(1.35rem, 3vw, 2rem) auto 0;
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--stroke);
  border-inline-start: 3px solid var(--gold);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: start;
}

.status-panel p + p { margin-block-start: 0.25rem; color: var(--muted); }

.status-kicker,
.section-label,
.card-index {
  color: var(--gold-bright);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.information {
  max-inline-size: 76rem;
  margin-inline: auto;
  padding: 0 1rem clamp(3rem, 7vw, 6rem);
}

.information-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.information-card {
  min-block-size: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.information-card h2,
.contact-section h2 {
  margin-block-start: 0.35rem;
  color: var(--text);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.4;
}

.information-card h2 + p,
.contact-section h2 + p { margin-block-start: 0.75rem; color: var(--muted); }

.independence {
  margin-block-start: 1rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--stroke);
  color: var(--text) !important;
  font-size: 0.93rem;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: clamp(1.4rem, 5vw, 4rem);
  align-items: center;
  max-inline-size: 76rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-block: 1px solid var(--stroke);
  background: linear-gradient(100deg, rgb(30 128 101 / 0.12), transparent 60%);
}

html[data-theme="light"] .contact-section { background: linear-gradient(100deg, rgb(34 104 80 / 0.08), transparent 60%); }

.contact-links { display: grid; gap: 0.75rem; }

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: 3.35rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.contact-link:hover { transform: translateY(-2px); border-color: var(--gold); }
.contact-link span { color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.contact-link strong { font-size: 0.91rem; font-weight: 700; }

.site-footer {
  max-inline-size: 82rem;
  margin-inline: auto;
  padding: 1.5rem 1rem max(1.5rem, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

@keyframes intro-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes emerald-drift {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.78; transform: translateX(-50%) translateY(-3px); }
}

@keyframes satin-pass {
  0%, 78% { opacity: 0; transform: translateX(-130%); }
  82% { opacity: 0.72; }
  91% { opacity: 0.24; transform: translateX(130%); }
  100% { opacity: 0; transform: translateX(130%); }
}

@media (max-width: 44rem) {
  .topbar { align-items: flex-start; }
  .controls { max-inline-size: 15.6rem; }
  .control-button { padding-inline: 0.65rem; font-size: 0.73rem; }
  .hero { min-block-size: auto; padding-block-start: 2.5rem; }
  .information-grid,
  .contact-section { grid-template-columns: 1fr; }
  .contact-section { margin-inline: 1rem; padding: 1.35rem; }
}

@media (max-width: 23rem) {
  .topbar { flex-direction: column; }
  .controls { justify-content: flex-start; max-inline-size: none; }
  .logo-stage { inline-size: 90vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

html[data-motion="reduce"] *,
html[data-motion="reduce"] *::before,
html[data-motion="reduce"] *::after,
html[data-page-hidden="true"] .hero::before,
html[data-page-hidden="true"] .logo-stage::after,
html[data-hero-visible="false"] .hero::before,
html[data-hero-visible="false"] .logo-stage::after {
  animation: none !important;
  transition: none !important;
}
