/* =====================================================================
   Vaad Mishmeres Sta"m — design system
   Deep navy + brass/parchment, serif headings. Pure static, no build.
   ===================================================================== */

:root {
  /* Brand */
  --navy:      #050a30;
  --navy-2:    #0a1450;
  --navy-3:    #11205f;
  --gold:      #b88a3e;
  --gold-2:    #9a6f2c;
  --gold-soft: #d8b773;
  --parchment: #f3ead4;
  --cream:     #faf5ea;
  --paper:     #fffdf8;
  --white:     #ffffff;

  /* Text */
  --ink:       #161a2b;   /* body text on light */
  --ink-soft:  #444b60;
  --muted:     #6b7186;
  --on-navy:   #eef1ff;
  --on-navy-soft: #b7c0ea;

  /* Lines / surfaces */
  --line:      rgba(8,14,60,.12);
  --line-soft: rgba(8,14,60,.07);
  --gold-line: rgba(184,138,62,.35);

  /* Type */
  --serif: "EB Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hebrew: "Frank Ruhl Libre", "Times New Roman", serif;

  /* Layout */
  --container: 1140px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(8,14,60,.06), 0 4px 14px rgba(8,14,60,.05);
  --shadow:    0 10px 40px rgba(8,14,60,.10);
  --shadow-lg: 0 24px 70px rgba(8,14,60,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--navy); }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-parchment { background: var(--parchment); }
.section-paper { background: var(--paper); }
.center { text-align: center; }
.lead { font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft); }
.section-navy .lead { color: var(--on-navy-soft); }
.hidden { display: none !important; }

/* ---------- eyebrow + headings ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 .9rem;
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.section-navy .eyebrow { color: var(--gold-soft); }

h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.section-title { margin-bottom: 1.1rem; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.center.section-head { margin-inline: auto; }

/* gold-italic accent word in headings (idiom) */
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-2); }
.section-navy h1 em, .section-navy h2 em { color: var(--gold-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s var(--ease); white-space: nowrap;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--navy); box-shadow: 0 6px 20px rgba(184,138,62,.35); }
.btn-gold:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(184,138,62,.45); filter: brightness(1.04); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gold-line); }
.btn-outline:hover { border-color: var(--gold); background: rgba(184,138,62,.08); color: var(--navy); }
.section-navy .btn-outline { color: var(--on-navy); border-color: rgba(216,183,115,.5); }
.section-navy .btn-outline:hover { background: rgba(216,183,115,.12); color: var(--white); }
.btn-lg { padding: 16px 34px; font-size: 1.04rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,10,48,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(216,183,115,.18);
}
.site-header .container.nav { max-width: none; padding-inline: clamp(20px, 2.5vw, 46px); }
.nav { display: flex; align-items: center; justify-content: flex-start; gap: 16px; height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 64px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.08; }
.brand-text b { font-family: var(--serif); font-size: 1.48rem; color: var(--white); font-weight: 600; letter-spacing: .01em; }
.brand-text span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; white-space: nowrap;
  font-family: var(--sans); font-weight: 500; font-size: .95rem; color: var(--on-navy-soft);
  padding: 9px 13px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); background: rgba(216,183,115,.12); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 22px; }
.nav-cta .btn { padding: 10px 26px; font-size: .98rem; }
.nav > nav[aria-label="Primary"] { display: flex; justify-content: flex-start; margin-left: auto; }
/* header CTA buttons — match the old site: solid cream Contact + gold-tan Donate */
.site-header .nav-cta .btn-outline { background: #f5ebda; color: #2e1c02; border: 1px solid transparent; box-shadow: none; }
.site-header .nav-cta .btn-outline:hover { background: #ece0c8; color: #2e1c02; transform: translateY(-1px); }
.site-header .nav-cta .btn-gold { background: #d6b588; color: var(--navy); border: 1px solid rgba(5,10,48,.5); box-shadow: none; }
.site-header .nav-cta .btn-gold:hover { background: #cea874; color: var(--navy); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-soft); margin: 5px 0; transition: .25s var(--ease); border-radius: 2px; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 92px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 14px 24px 26px; gap: 2px;
    border-bottom: 1px solid rgba(216,183,115,.2);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; font-size: 1rem; border-radius: 8px; }
  .nav-cta .btn-outline { display: none; }
  .brand-text span { display: none; }
}
@media (max-width: 520px) {
  .brand-text b { font-size: .82rem; }
  .brand img { height: 42px; }
  .brand { gap: 9px; }
  .nav { height: 64px; }
  .site-header .container.nav { padding-inline: 16px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 8px 13px; font-size: .82rem; }
  .site-header .nav-links { inset-block-start: 64px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(184,138,62,.20), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(17,32,95,.7), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, #070d3a 55%, #04081f 100%);
  color: var(--on-navy);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(216,183,115,.10) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; mix-blend-mode: screen;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 96px 0 100px; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero p.lead { color: var(--on-navy-soft); max-width: 33ch; margin-bottom: 1.8em; }
.hero-emblem { display: grid; place-items: center; }
.hero-emblem img { width: min(420px, 80%); filter: drop-shadow(0 24px 50px rgba(0,0,0,.45)); }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.hero-trust span { font-size: .82rem; color: var(--on-navy-soft); display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: "✦"; color: var(--gold-soft); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding: 64px 0 72px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-emblem { order: -1; }
  .hero-emblem img { width: min(280px, 62%); }
}

/* photographic hero (homepage) */
.hero-photo { background: var(--navy); display: flex; align-items: center; min-height: clamp(540px, 72vh, 680px); }
.hero-photo::after { display: none; }
.hero-photo .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: 0; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(94deg, rgba(3,6,24,.93) 0%, rgba(4,9,40,.86) 40%, rgba(5,10,48,.66) 72%, rgba(6,12,52,.5) 100%),
              radial-gradient(900px 420px at 82% 4%, rgba(184,138,62,.22), transparent 60%);
}
.hero-photo .container { position: relative; z-index: 2; width: 100%; min-width: 0; }
.hero-inner { max-width: 620px; padding: 48px 0; }
.hero-inner h1 { color: var(--white); margin-bottom: .3em; font-size: clamp(2.6rem, 5.6vw, 4.3rem); line-height: 1.05; }
.hero-inner p.lead { color: var(--on-navy-soft); max-width: 42ch; margin-bottom: 1.9em; }
/* hero outline button must read light on the dark hero */
.hero-photo .btn-outline { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); }
.hero-photo .btn-outline:hover { background: rgba(255,255,255,.14); border-color: var(--gold-soft); color: var(--white); }
@media (max-width: 880px) {
  .hero-photo { min-height: clamp(440px, 60vh, 540px); }
  .hero-inner { padding: 40px 0; max-width: 100%; text-align: center; }
  .hero-photo .hero-trust, .hero-photo .btn-row { justify-content: center; }
  .hero-inner p.lead { margin-inline: auto; max-width: 100%; }
}

/* framed photo (used inside splits) */
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gold-line); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; transition: transform .6s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
/* video */
.video-frame { max-width: 920px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gold-line); background: #000; }
.video-frame video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; }

/* ---------- motion ---------- */
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-photo .hero-img { animation: heroZoom 16s ease-out both; }
.hero-inner > * { animation: fadeUp .75s var(--ease) both; }
.hero-inner > :nth-child(1) { animation-delay: .05s; }
.hero-inner > :nth-child(2) { animation-delay: .16s; }
.hero-inner > :nth-child(3) { animation-delay: .28s; }
.hero-inner > :nth-child(4) { animation-delay: .4s; }
.hero-inner > :nth-child(5) { animation-delay: .52s; }
/* animated nav underline */
.nav-links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--gold-soft); transform: scaleX(0); transform-origin: left; border-radius: 2px;
  transition: transform .26s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
/* button sheen on hover */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn-gold:hover::after { left: 140%; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-img, .hero-inner > * { animation: none; }
  .media-frame:hover img { transform: none; }
  .btn-gold::after { display: none; }
}

/* page header (interior pages) */
.page-hero { background:
    radial-gradient(900px 380px at 80% -20%, rgba(184,138,62,.18), transparent 60%),
    linear-gradient(160deg, var(--navy), #06103f);
  color: var(--on-navy); padding: 72px 0 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); margin-bottom: .25em; }
.page-hero p { color: var(--on-navy-soft); max-width: 60ch; margin-inline: auto; }
.breadcrumb { font-size: .82rem; color: var(--on-navy-soft); margin-bottom: 1.1rem; letter-spacing: .04em; }
.breadcrumb a { color: var(--gold-soft); }
/* page header with a background photo */
.page-hero--photo { padding: 92px 0 84px; }
.page-hero--photo .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; z-index: 0; }
.page-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4,8,32,.82) 0%, rgba(5,10,48,.80) 55%, rgba(4,8,30,.90) 100%);
}
.page-hero--photo .container { position: relative; z-index: 2; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(184,138,62,.16), rgba(184,138,62,.05));
  color: var(--gold-2); border: 1px solid var(--gold-line); font-size: 1.4rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact-line .ci svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card .num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-2); font-weight: 600; }
/* cards are light surfaces — keep dark text even inside a navy section */
.section-navy .card { color: var(--ink); }
.section-navy .card h3 { color: var(--navy); }
.section-navy .card p { color: var(--ink-soft); }
.section-navy .step { color: var(--ink); }
.section-navy .step h3 { color: var(--navy); }
.section-navy .step p { color: var(--ink-soft); }
.section-navy .quote-card p { color: var(--ink); }

/* service card with link */
.svc-card { display: flex; flex-direction: column; }
.svc-card .more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .92rem; color: var(--gold-2); display: inline-flex; align-items: center; gap: 6px; }
.svc-card:hover .more { gap: 10px; }

/* feature/checklist rows */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(184,138,62,.14); color: var(--gold-2); display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.section-navy .checklist li::before { background: rgba(216,183,115,.18); color: var(--gold-soft); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; counter-reset: step; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step .step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  background: var(--navy); color: var(--gold-soft); font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}

/* split / media-text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.narrow-gap { gap: 40px; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 32px; } }
.split-emblem { display: grid; place-items: center; }
.split-emblem img { width: min(340px, 70%); }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat .n { font-family: var(--serif); font-size: clamp(2rem,4vw,2.8rem); color: var(--gold-soft); font-weight: 600; line-height: 1; }
.stat .l { font-size: .9rem; color: var(--on-navy-soft); margin-top: 8px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--serif); font-size: 1.2rem; color: var(--navy); font-weight: 600;
  padding: 22px 44px 22px 0; position: relative; display: block;
}
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.5rem; color: var(--gold-2); transition: transform .25s var(--ease); }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a > div { padding: 0 0 22px; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 600px; }

/* ---------- testimonials ---------- */
.quote-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); position: relative; }
.quote-card::before { content: "\201C"; font-family: var(--serif); font-size: 4.5rem; color: var(--gold-soft); line-height: 1; position: absolute; top: 6px; left: 20px; opacity: .5; }
.quote-card p { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); font-style: italic; position: relative; z-index: 1; }
.quote-card .who { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-2); margin: 0; }

/* rabbinic endorsement (navy) */
.endorse { display: grid; gap: 26px; grid-template-columns: repeat(2,1fr); }
@media (max-width: 760px){ .endorse { grid-template-columns: 1fr; } }
.endorse-card { background: rgba(255,255,255,.04); border: 1px solid rgba(216,183,115,.22); border-radius: var(--radius); padding: 28px 30px; }
.endorse-card p { color: var(--on-navy); font-family: var(--serif); font-size: 1.05rem; font-style: italic; }
.endorse-card .who { color: var(--gold-soft); font-family: var(--sans); font-weight: 600; font-size: .9rem; letter-spacing: .03em; }

/* ---------- rabbonim grid ---------- */
.rav-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 820px){ .rav-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .rav-grid { grid-template-columns: 1fr; } }
.rav {
  background: var(--paper); border: 1px solid var(--line-soft); border-left: 3px solid var(--gold); border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: var(--shadow-sm);
}
.rav .name { font-family: var(--hebrew); font-size: 1.35rem; color: var(--navy); direction: rtl; text-align: right; line-height: 1.4; }
.rav .city { font-family: var(--hebrew); font-size: 1rem; color: var(--gold-2); direction: rtl; text-align: right; }

/* ---------- data table (verified products) ---------- */
.table-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.search-box input {
  width: 100%; padding: 13px 16px 13px 44px; border: 1.5px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: .96rem; background: var(--paper); color: var(--ink);
}
.search-box input:focus { outline: none; border-color: var(--gold); }
.search-box::before { content: "⌕"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gold-2); font-size: 1.2rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--paper); }
table.data th { background: var(--navy); color: var(--on-navy); font-family: var(--sans); font-weight: 600; text-align: left; padding: 14px 16px; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; position: sticky; top: 0; }
table.data td { padding: 12px 16px; border-top: 1px solid var(--line-soft); color: var(--ink-soft); white-space: nowrap; }
table.data tr:nth-child(even) td { background: rgba(184,138,62,.035); }
table.data tr:hover td { background: rgba(184,138,62,.09); }
.table-count { font-size: .88rem; color: var(--muted); }

/* ---------- forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--white); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,138,62,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-success { display: none; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(34,139,80,.1); border: 1px solid rgba(34,139,80,.3); color: #1c6b3f; font-weight: 500; margin-bottom: 18px; }

/* contact detail cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ci { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: rgba(184,138,62,.12); color: var(--gold-2); display: grid; place-items: center; font-size: 1.1rem; }
.contact-line .ct b { display: block; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-line .ct a, .contact-line .ct span { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { background:
    radial-gradient(700px 300px at 85% 120%, rgba(184,138,62,.25), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy)); color: var(--on-navy);
  border-radius: var(--radius); padding: 56px 48px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-navy-soft); max-width: 52ch; margin-inline: auto 0; margin-inline: auto; }
@media (max-width: 600px){ .cta-band { padding: 40px 24px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-soft); padding: 64px 0 28px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { height: 64px; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; color: var(--on-navy-soft); max-width: 36ch; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--on-navy-soft); font-size: .94rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-contact { display: grid; gap: 10px; font-size: .94rem; }
.footer-contact a { color: var(--on-navy-soft); }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-contact b { color: var(--gold-soft); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(216,183,115,.3); background: rgba(255,255,255,.06); color: var(--white); font-size: .9rem; }
.newsletter input::placeholder { color: var(--on-navy-soft); }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; font-size: .84rem; color: var(--on-navy-soft); }
.footer-bottom a { color: var(--gold-soft); }

/* ---------- refinement pass (Pristine polish) ---------- */
/* subtle paper grain on tinted sections — depth, not flat color */
.section-parchment { position: relative; }
.section-parchment > * { position: relative; z-index: 1; }
.section-parchment::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(rgba(120,90,40,.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
}
/* refined gold offset frame on featured photos */
.media-frame { box-shadow: var(--shadow-lg), 16px 16px 0 -2px rgba(184,138,62,.22); }
/* card: gold top-accent draws in on hover */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card { position: relative; overflow: hidden; }
/* step number: gold ring */
.step .step-n { box-shadow: 0 0 0 4px rgba(184,138,62,.12); }
/* quote card: gold left rule */
.quote-card { border-left: 3px solid var(--gold); }
/* eyebrow diamond accent on centered heads */
.center .eyebrow::before, .center .eyebrow::after { width: 30px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* stagger cards/steps within a row for a visible cascade */
.grid > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .endorse > .reveal:nth-child(2) { transition-delay: .09s; }
.grid > .reveal:nth-child(3), .steps > .reveal:nth-child(3), .endorse > .reveal:nth-child(3) { transition-delay: .18s; }
.grid > .reveal:nth-child(4), .endorse > .reveal:nth-child(4) { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* utility */
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.text-gold { color: var(--gold-2); }
.divider-dot { color: var(--gold); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }
