/* ===========================================================
   base.css — reset, body, shared utilities (RTL Hebrew)
   =========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  direction: rtl;
  background: var(--white);
  color: var(--gray-900);
  overflow-x: hidden;
  line-height: 1.5;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Shared CTA pills (Cluster 2.3 uses solid for conversion) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  white-space: nowrap;
  border-radius: var(--r-pill);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }

/* filled light-blue pill, navy text */
.btn--fill {
  background: var(--blue-200);
  color: var(--navy);
}
.btn--fill:hover { background: var(--blue-100); }

/* outlined light-blue border, white text */
.btn--outline {
  background: transparent;
  border: 2px solid var(--blue-200);
  color: var(--white);
}
.btn--outline:hover { background: var(--blue-200); color: var(--navy); }

/* icon sits on the visual LEFT in RTL pills (claude-html §P/T) */
.btn__icon { display: inline-flex; }
.btn__icon img, .btn__icon svg { width: 100%; height: 100%; }

/* utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Figma comment: "fade in from bottom" reveal for titles (IntersectionObserver adds .is-in) */
.js .reveal-up {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.js .reveal-up.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* WYSIWYG (ACF) wrappers — neutralize the <p> the editor adds so rich fields render inline/clean */
.hero__tagline p, .m-hero__tagline p,
.about__intro p, .m-about__intro p,
.about__bio p, .m-about__bio p,
.pjvote__closing p, .m-pjvote__closing p,
.ncard__body p,
.m-vcard__body p { margin: 0; }
.ncard__body p { text-align: inherit; }
