/* ========================================
   BASE — Reset, Custom Properties, Typography
   ======================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FAF6EC;
  --cream-deep: #F0E7D2;
  --ink: #17221F;
  --ink-soft: #3C4A46;
  --turq: #1B7D96;
  --turq-deep: #186A82;
  --turq-light: #5CAFC6;
  --turq-pale: #D3EAF1;
  --line: rgba(27,125,150,0.25);
  --white: #FFFFFF;
  --serif-ar: 'Tajawal', sans-serif;
  --sans-en: 'Montserrat', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-glow: 0 10px 24px -10px rgba(27,125,150,.45);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif-ar);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--turq-light);
  color: var(--ink);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
}

body.lang-en {
  font-family: var(--sans-en);
}
body.lang-en h1,
body.lang-en h2,
body.lang-en h3,
body.lang-en h4 {
  letter-spacing: -.01em;
}
