/* =========================================================
   Alumot — Base styles + Reset (Watercolor)
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--bg);
  /* Subtle paper texture using two soft watercolor washes */
  background-image:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(168, 184, 158, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(159, 181, 197, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
  direction: rtl;
  font-weight: var(--font-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--accent-hover); }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: var(--leading-tight);
  font-weight: var(--font-regular);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.875rem, 4vw, var(--text-4xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }

p { line-height: var(--leading-normal); }

::selection {
  background: var(--color-sage-200);
  color: var(--color-ink-900);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide {
  max-width: var(--max-w-wide);
}

/* Section */
.section { padding-block: var(--space-24); }
.section-sm { padding-block: var(--space-16); }
.section-lg { padding-block: var(--space-32); }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-sage-700);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  position: relative;
  padding-inline-end: var(--space-8);
}
.eyebrow::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  width: var(--space-6);
  height: 1px;
  background: var(--color-sage-300);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-blue-700);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-blue-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--color-sage-300);
  color: var(--color-ink-900);
}
.btn-accent:hover {
  background: var(--color-sage-500);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--color-ink-900);
  border-color: var(--color-ink-900);
}
.btn-outline:hover {
  background: var(--color-ink-900);
  color: var(--color-cream-50);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { color: var(--accent-hover); }

/* Utility */
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.flex { display: flex; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--color-sage-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Decorative watercolor blob (used as background accents) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob-sage   { background: var(--color-sage-200); }
.blob-blue   { background: var(--color-blue-200); }
.blob-sand   { background: var(--color-sand-200); }
