@charset "UTF-8";

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
img, svg {
  display: block;
  max-width: 100%;
}
button, input, textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

:root {
  --ink: #1A1712;
  --ink-soft: #463F35;
  --logo-full: url("../images/logo.jpg");
  
  --ivory: #FDF8EF;
  --parchment: #F5E6C7;
  --parchment-deep: #EAD2A0;
  --forest: #355E1D;
  --forest-light: #5E9934;
  --forest-pale: #E9F2DE;
  --wine: #6E2E10;
  --wine-light: #8C4420;
  --wine-pale: #F5E7DA;
  --brass: #F0821E;
  --brass-light: #FFAA55;
  --brass-dark: #C2650E;
  --brass-pale: #FDEDD9;
  --sky: #1C93C6;
  --sky-dark: #146F97;
  --sky-pale: #E1F1F7;
  --white: #FFFFFF;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-xl: 40px; --r-full: 999px;

  --shadow-soft: 0 20px 40px -22px rgba(20,16,8,0.35);
  --shadow-lift: 0 34px 70px -28px rgba(20,16,8,0.45);
  --shadow-gold-ring: inset 0 0 0 1px rgba(201,162,76,0.4);

  --container: 1220px;
  --header-h: 84px;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: 'Amiri', serif; }
.font-kufi { font-family: 'Reem Kufi', sans-serif; }

:focus-visible {
  outline: 2.5px solid var(--brass-dark);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
@media (max-width: 640px) {
  .container { padding-inline: var(--sp-4); }
}

h1, h2, h3 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

section {
  padding-block: var(--sp-9);
}
@media (max-width: 768px) {
  section { padding-block: var(--sp-8); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
