/* ===========================================================
   חלום ילדות - ידע על הגיל הרך
   גיליון סגנון. הפלטה נדגמה מהלוגו: טורקיז עמוק, ורוד עתיק,
   אפור רך וקרם. הטון עריכתי ולא שיווקי: מעט צל, מעט עיגול,
   הרבה מרווח לבן וטיפוגרפיה שנוחה לקריאה ארוכה.
   =========================================================== */

/* גופנים המאוחסנים באתר עצמו, ברישיון SIL Open Font License. */
@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/assistant-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/assistant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("fonts/frank-ruhl-libre-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("fonts/frank-ruhl-libre-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* רקעים */
  --paper:  #fdfaf6;
  --cream:  #f3e9df;   /* הרקע המדויק של כרטיסי האינסטגרם */
  --sand:   #ece0d2;
  --deep:   #2f5464;
  --deep-2: #21404e;

  /* מותג */
  --petrol:      #24464e;   /* צבע הטקסט בכרטיסים */
  --petrol-soft: #eaf1f4;
  --rose:        #f0c2c4;   /* הוורוד של רקע הלבבות */
  --rose-deep:   #bf7c81;
  --rose-soft:   #fbf1f1;
  --grey-soft:   #cbd3d4;

  /* טקסט וקווים */
  --ink:      #1f292e;
  --ink-2:    #3d4b52;
  --muted:    #5f6f76;
  --line:     #e3dbd0;
  --line-soft:#efe8de;

  /* טיפוגרפיה */
  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans:  "Assistant", "Heebo", system-ui, -apple-system, sans-serif;

  /* מידות */
  --wrap: 1160px;
  --narrow: 720px;
  --r-sm: 4px;
  --r-md: 10px;
  --shadow-sm: 0 1px 3px rgba(31, 41, 46, .05);
  --shadow-md: 0 6px 22px rgba(31, 41, 46, .08);
  --header-h: 136px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 .55em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.14; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-family: var(--sans); font-size: .95rem; letter-spacing: .03em; }
p  { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep-2); }

.skip-link {
  position: absolute; inset-inline-start: 50%; top: -100px;
  transform: translateX(50%);
  background: var(--petrol); color: #fff;
  padding: .7rem 1.4rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: 200; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; border-radius: 3px; }

/* ---------- פריסה ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--narrow); margin-inline: auto; }

section { padding: clamp(58px, 8vw, 106px) 0; position: relative; }
section.tight { padding: clamp(42px, 5.5vw, 68px) 0; }

.bg-cream { background: var(--cream); }
.bg-sand  { background: var(--sand); }
.bg-deep  { background: var(--deep); color: #dfe9ec; }
.bg-deep h2, .bg-deep h3, .bg-deep h4 { color: #fff; }
.bg-deep a { color: #f1dcdd; }

/* ---------- כותרות מקטע ---------- */
.eyebrow {
  display: block;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .17em;
  color: var(--rose-deep);
  margin-bottom: .9rem;
}
.bg-deep .eyebrow { color: var(--rose); }

.section-head { max-width: 68ch; margin-bottom: clamp(34px, 4.5vw, 58px); }
.lede { font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--muted); }
.bg-deep .lede { color: #bdd0d6; }

/* טיפוגרפיה לקריאה ארוכה */
.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .98rem; font-weight: 700;
  padding: .78rem 1.5rem;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--deep-2); color: #fff; }
.btn-ghost   { border-color: var(--line); color: var(--petrol); background: var(--paper); }
.btn-ghost:hover { border-color: var(--petrol); background: var(--petrol-soft); }
.bg-deep .btn-ghost { border-color: #5a7d8b; color: #eaf1f4; background: transparent; }
.bg-deep .btn-ghost:hover { background: #fff; color: var(--petrol); border-color: #fff; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; width: 100%; }

.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
/* הלוגו המלא כולל את שם הגן. בכותרת מוצג רק הסימן,
   כלומר הקשת והילדים, כי השם מופיע ממילא בטקסט שלידו.
   החיתוך נעשה ב-CSS ולא בקובץ, כדי לשמור על הלוגו המקורי. */
.logo-mark {
  width: 161px;            /* פי 2 ועוד 30%, מ-62px המקוריים */
  aspect-ratio: 62 / 42;
  overflow: hidden; flex-shrink: 0;
  display: block;
}
/* התמונה ממלאת את הרוחב, והמסגרת חותכת את שם הגן שבתחתית הלוגו.
   aspect-ratio שומר על היחס בכל רוחב, כך שהחיתוך נשאר במקום. */
.logo-mark img { width: 100%; height: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 1.95rem; color: var(--petrol); }
.logo-sub  { font-size: 1rem; color: var(--muted); letter-spacing: .06em; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  font-size: .93rem; font-weight: 600; color: var(--ink-2);
  text-decoration: none; padding: .3rem 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 0; height: 2px; background: var(--rose-deep); transition: width .22s;
}
.nav a:hover::after, .nav a[aria-current="true"]::after { width: 100%; }

.nav-toggle {
  display: none; margin-inline-start: auto;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; inset-inline: 11px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 620px) {
  :root { --header-h: 104px; }
  .logo-mark { width: 122px; }
  .logo-name { font-size: 1.55rem; }
  .logo-sub  { font-size: .82rem; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav ul { flex-direction: column; gap: 0; padding: .25rem 24px 1.25rem; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav li:last-child { border-bottom: none; }
  .nav a { display: block; padding: .95rem 0; font-size: 1.02rem; }
  .nav a::after { display: none; }
}

/* ---------- פתיחה ---------- */
.hero {
  padding: clamp(48px, 6.5vw, 88px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 72px); align-items: start;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }


.kicker {
  font-family: var(--serif); font-size: .98rem; font-weight: 700;
  color: var(--rose-deep); letter-spacing: .04em;
  margin: 0 0 1.1rem;
}
.hero-lede { font-size: clamp(1.08rem, 1.8vw, 1.26rem); color: var(--ink-2); max-width: 46ch; }
.hero-note {
  font-size: .93rem; color: var(--muted);
  border-inline-start: 2px solid var(--rose);
  padding-inline-start: 1rem;
  max-width: 52ch;
}

/* תוכן העניינים */
.hero-toc {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.6vw, 30px);
}
.toc-title {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; color: var(--muted);
  margin: 0 0 1.1rem;
}
.toc { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.toc li + li { border-top: 1px solid var(--line-soft); }
.toc a {
  display: flex; gap: .95rem; align-items: baseline;
  padding: .85rem 0; text-decoration: none; color: var(--ink);
}
.toc a:hover strong { color: var(--rose-deep); }
.toc-num {
  font-family: var(--serif); font-size: .82rem; font-weight: 700;
  color: var(--rose-deep); flex-shrink: 0; padding-top: .15rem;
}
.toc a > span:last-child { display: flex; flex-direction: column; }
.toc strong { font-family: var(--serif); font-size: 1.04rem; font-weight: 700; line-height: 1.35; transition: color .18s; }
.toc em { font-style: normal; font-size: .87rem; color: var(--muted); line-height: 1.5; }

/* ---------- למי מיועד ---------- */
.audience-grid {
  display: grid; gap: clamp(20px, 2.6vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.audience-item { border-top: 2px solid var(--rose); padding-top: 1.1rem; }
.audience-item h3 { font-size: 1.12rem; margin-bottom: .35em; }
.audience-item p { font-size: .97rem; color: var(--muted); margin: 0; }

/* ---------- לוחות גיל ---------- */
.age-panel {
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 3.4vw, 42px);
  margin-top: clamp(28px, 3.4vw, 42px);
}
.age-panel:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.age-head { margin-bottom: 1.6rem; }
.age-band {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  color: var(--petrol); background: var(--petrol-soft);
  padding: .3rem .85rem; border-radius: 100px;
  margin-bottom: .8rem;
}
.age-head h3 { font-size: clamp(1.4rem, 2.8vw, 1.95rem); margin: 0; }

.age-art {
  display: block; width: 168px; height: 168px;
  object-fit: cover; border-radius: 50%;
  background: var(--cream);
  margin: clamp(20px, 2.4vw, 28px) auto 0;
  mix-blend-mode: multiply;
}

.age-body {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
@media (max-width: 900px) { .age-body { grid-template-columns: 1fr; } }

.age-side {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.4vw, 28px);
}
.bg-cream .age-side { background: var(--paper); }
.age-side h4 { color: var(--ink); margin-bottom: .9rem; }

/* ---------- רשימת סימון ---------- */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.tick-list li {
  position: relative; padding-inline-start: 1.7rem;
  font-size: .96rem; color: var(--muted); line-height: 1.6;
}
.tick-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .48em;
  width: .95rem; height: .95rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf7c81' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bg-deep .tick-list li { color: #bdd0d6; }
.bg-deep .tick-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23edc4c6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- תיבת הדגשה ---------- */
.callout {
  margin-top: 1.5rem;
  background: var(--rose-soft);
  border-inline-start: 3px solid var(--rose-deep);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1.05rem 1.2rem;
  font-size: .95rem; color: var(--ink-2); line-height: 1.65;
}
.callout strong { color: var(--ink); }
.callout p { margin-bottom: .7rem; }
.callout p:last-child { margin-bottom: 0; }
.callout-warn {
  background: var(--sand);
  border-inline-start-color: var(--petrol);
  margin-block: 0 clamp(30px, 4vw, 46px);
  padding: clamp(18px, 2.2vw, 26px);
  font-size: .96rem;
}
.callout-warn strong { display: block; margin-bottom: .4rem; }

/* ---------- נושאי ליבה ---------- */
.topic-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.topic {
  background: var(--paper);
  padding: clamp(24px, 2.8vw, 34px);
}
.topic-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  color: var(--rose-deep);
  margin-bottom: .7rem;
}
.topic h3 { font-size: 1.24rem; margin-bottom: .5em; }
.topic p { font-size: .97rem; color: var(--muted); }
.topic-key {
  margin-top: 1rem; padding-top: .95rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2) !important; font-size: .93rem !important;
}

/* ---------- תחומים ממוספרים ---------- */
.domain-list { display: grid; gap: 0; max-width: 76ch; }
.domain {
  display: flex; gap: clamp(16px, 2.4vw, 28px);
  padding: clamp(22px, 2.6vw, 30px) 0;
  border-top: 1px solid var(--line-soft);
}
.domain:first-child { border-top: 0; padding-top: 0; }
.domain-num {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
  color: var(--rose-deep); flex-shrink: 0; width: 2.1rem; padding-top: .1rem;
}
.domain h3 { font-size: 1.2rem; margin-bottom: .4em; }
.domain p { font-size: .98rem; color: var(--muted); margin: 0; }


/* ---------- שורות פיצול ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: start; }
.split.wide-text { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) {
  .split, .split.wide-text { grid-template-columns: 1fr; }
  .split.flip .split-media { order: -1; }
}

/* ---------- מציין מקום לתמונה ---------- */
.ph {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  border: 1px dashed var(--line);
  background: var(--cream);
  display: grid; justify-items: center; align-content: center;
  padding: 1.25rem;
}
.bg-deep .ph { background: rgba(255,255,255,.06); border-color: #5a7d8b; }
.ph::before {
  content: "";
  width: 28px; height: 28px; margin-bottom: .5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3b0b6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.6'/%3E%3Cpath d='m21 15-4.6-4.6a2 2 0 0 0-2.8 0L3 21'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph::after {
  content: attr(data-label);
  font-size: .81rem; font-weight: 600; color: #8b989e;
  text-align: center; line-height: 1.5; max-width: 30ch;
}
.bg-deep .ph::after { color: #a9c0c8; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(> img) { border-style: solid; border-color: var(--line-soft); padding: 0; }
.ph:has(> img)::before, .ph:has(> img)::after { display: none; }

/* ---------- שאלות ותשובות ---------- */
.faq { max-width: 76ch; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 0;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-inline-start: auto; flex-shrink: 0;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5464' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .22s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.4rem; color: var(--muted); font-size: 1rem; max-width: 68ch; }

/* ---------- קשר ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0; }
.info-list > li { padding: .9rem 0; border-top: 1px solid var(--line-soft); }
.info-list > li:last-child { border-bottom: 1px solid var(--line-soft); }
.info-list dt { font-size: .76rem; font-weight: 700; letter-spacing: .12em; color: var(--rose-deep); margin-bottom: .15rem; }
.info-list dd { margin: 0; font-size: 1.04rem; color: var(--ink); font-weight: 600; }


/* ---------- כותרת תחתונה ---------- */
.site-footer {
  background: var(--deep-2); color: #a2bcc4;
  padding: clamp(38px, 5vw, 62px) 0 1.8rem;
  font-size: .93rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2.4rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h4 { color: #e7f0f2; font-size: .82rem; letter-spacing: .14em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #a2bcc4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo-name { font-size: 1.2rem; color: #e7f0f2; }
.site-footer .logo-sub { font-size: .7rem; color: #7a959e; }
.site-footer .logo-mark { width: 62px; background: #fff; border-radius: var(--r-sm); }
.footer-bottom {
  border-top: 1px solid #35586a; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .84rem; color: #7a959e;
}

/* ---------- מקורות ---------- */
.sources-inline {
  margin-top: clamp(34px, 4.5vw, 52px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid var(--line);
  max-width: 76ch;
}
.sources-inline h4 { color: var(--ink); margin-bottom: .8rem; }
.sources-inline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.sources-inline li { font-size: .95rem; color: var(--muted); }
.sources-note {
  margin: 1rem 0 0; font-size: .89rem; color: var(--muted);
  border-inline-start: 2px solid var(--line); padding-inline-start: .9rem;
}

.source-grid {
  display: grid; gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.source-block h3 {
  font-size: 1.1rem; padding-bottom: .6rem; margin-bottom: 1rem;
  border-bottom: 2px solid var(--rose);
}
.source-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.source-list li { display: flex; flex-direction: column; gap: .2rem; }
.source-list a { font-weight: 700; font-size: 1.02rem; }
.source-list span { font-size: .91rem; color: var(--muted); line-height: 1.55; }

/* סימון מקום שממתין למידע מהלקוח. בולט בכוונה, כדי שלא יישאר באוויר */
mark.todo {
  background: #fff3bf; color: #6b4b00;
  padding: .05em .35em; border-radius: 3px;
  font-weight: 700; font-size: .95em;
}
.bg-deep mark.todo { background: #ffe066; color: #5a3e00; }

/* ---------- תמונות ---------- */
/* המקורות הם תמונות הגריד של האינסטגרם, ברוחב 1080 פיקסלים.
   הן נחתכו לרוחב 900 ולכן אפשר להציג אותן גם בגדלים מלאים. */
.shot { margin: 0; }
.shot figcaption, .shot-row figcaption {
  margin-top: .7rem;
  font-size: .84rem; line-height: 1.55; color: var(--muted);
}
.bg-deep .shot figcaption, .bg-deep .shot-row figcaption { color: #a9c0c8; }

.shot-row { margin: clamp(32px, 4vw, 48px) 0 0; }
.shot-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.shot-grid .ph { aspect-ratio: 1 / 1; }
/* שלוש תמונות שנשארות בשורה אחת גם ב-wrap narrow */
.shot-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .shot-grid.three { grid-template-columns: repeat(2, 1fr); } }

/* ---------- אני מאמין, צוות, פעילויות ---------- */
.credo-grid, .staff-grid {
  display: grid; gap: clamp(22px, 3vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.credo-item, .staff-item { border-top: 2px solid var(--rose); padding-top: 1.1rem; }
.credo-item h3, .staff-item h3 { font-size: 1.12rem; margin-bottom: .35em; }
.credo-item p, .staff-item p { font-size: .97rem; color: var(--muted); margin: 0; }
.staff-role {
  font-size: .8rem !important; font-weight: 700; letter-spacing: .08em;
  color: var(--rose-deep) !important; margin-bottom: .5rem !important;
}
.staff-grid { margin-top: clamp(28px, 3.5vw, 40px); }

.activity-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.activity { background: var(--paper); padding: clamp(22px, 2.6vw, 30px); }
.bg-cream .activity { background: var(--paper); }
.activity h3 { font-size: 1.15rem; margin-bottom: .5em; }
.activity p { font-size: .96rem; color: var(--muted); }
.activity .tick-list li { font-size: .96rem; }

/* ---------- פרטים יבשים ---------- */
.fact-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.fact { background: var(--paper); padding: 1.15rem 1.4rem; }
.fact dt { font-size: .76rem; font-weight: 700; letter-spacing: .12em; color: var(--rose-deep); margin-bottom: .25rem; }
.fact dd { margin: 0; font-size: 1.02rem; color: var(--ink); font-weight: 600; }

.quote-line {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.45; color: var(--petrol);
  border-inline-start: 3px solid var(--rose);
  padding-inline-start: 1.2rem;
}
.quote-line cite {
  display: block; margin-top: .9rem;
  font-family: var(--sans); font-size: .92rem; font-style: normal;
  font-weight: 600; color: var(--muted);
}

/* ---------- כרטיס המחקר ---------- */
.research-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 3.2vw, 40px);
  max-width: 80ch;
}
.research-card > h3 {
  font-size: clamp(1.15rem, 2.1vw, 1.42rem);
  line-height: 1.35;
  padding-bottom: 1rem; margin-bottom: 1.4rem;
  border-bottom: 2px solid var(--rose);
}
.research-meta {
  display: grid; gap: .8rem; margin: 0 0 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.research-meta > div { display: flex; flex-direction: column; gap: .15rem; }
.research-meta dt { font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--rose-deep); }
.research-meta dd { margin: 0; font-size: .95rem; color: var(--ink); line-height: 1.5; }
.research-card h4 {
  color: var(--ink); margin: 1.6rem 0 .6rem;
  font-size: .82rem; letter-spacing: .12em;
}
.research-card .prose > h4:first-child { margin-top: 0; }
.research-card .prose p { font-size: .98rem; }

/* ---------- פיד אינסטגרם ---------- */
.ig-feed { margin-top: clamp(36px, 4.5vw, 56px); }
.ig-feed-title { font-size: 1.15rem; margin-bottom: .4em; }
.ig-feed-note { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; max-width: 60ch; }
.ig-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.ig-grid a {
  display: block; text-decoration: none;
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  overflow: hidden; background: var(--paper);
  transition: border-color .18s ease;
}
.ig-grid a:hover { border-color: var(--petrol); }
.ig-grid img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.ig-grid span {
  display: block; padding: .7rem .8rem;
  font-size: .87rem; font-weight: 600; line-height: 1.4; color: var(--ink);
}
.ig-grid a:hover span { color: var(--petrol); }

/* ===========================================================
   שפת העיצוב של האינסטגרם של הגן
   הכרטיסים שלהם: רקע קרם, טורקיז עמוק, ספרה אפורה ענקית
   מאחורי הכותרת, ניצוץ ארבע קצוות, ולוגו בתחתית.
   כאן זה מיושם על מבנה האתר ולא במקומו.
   =========================================================== */

/* טקסטורת הלבבות מהאינסטגרם, כפס עדין בראש מקטע */
.bg-cream, .bg-sand { position: relative; }
.hearts-top::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 46px;
  background: url("img/instagram-new/2023-11-brand-a.jpg") repeat-x center / auto 150px;
  opacity: .5; pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}

/* הניצוץ שמופיע בכרטיסים שלהם */
.eyebrow::after {
  content: "";
  display: inline-block; vertical-align: middle;
  width: .72em; height: .72em; margin-inline-start: .5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23bf7c81'%3E%3Cpath d='M12 0c.6 4.9 2.2 6.5 7.1 7.1-4.9.6-6.5 2.2-7.1 7.1-.6-4.9-2.2-6.5-7.1-7.1C9.8 6.5 11.4 4.9 12 0z'/%3E%3Cpath d='M19.5 14.5c.3 2.5 1.1 3.3 3.6 3.6-2.5.3-3.3 1.1-3.6 3.6-.3-2.5-1.1-3.3-3.6-3.6 2.5-.3 3.3-1.1 3.6-3.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bg-deep .eyebrow::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0c2c4'%3E%3Cpath d='M12 0c.6 4.9 2.2 6.5 7.1 7.1-4.9.6-6.5 2.2-7.1 7.1-.6-4.9-2.2-6.5-7.1-7.1C9.8 6.5 11.4 4.9 12 0z'/%3E%3Cpath d='M19.5 14.5c.3 2.5 1.1 3.3 3.6 3.6-2.5.3-3.3 1.1-3.6 3.6-.3-2.5-1.1-3.3-3.6-3.6 2.5-.3 3.3-1.1 3.6-3.6z'/%3E%3C/svg%3E");
}

/* ספרת הפרק, בטיפול של הכרטיסים: ענקית, אפורה, מאחורי הכותרת */
.section-head { position: relative; }
.chapter-num {
  position: absolute; inset-inline-end: 0; top: -.35em;
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(5rem, 13vw, 10rem); line-height: .8;
  color: var(--sand);
  -webkit-text-stroke: 2px var(--paper);
  z-index: 0; pointer-events: none; user-select: none;
}
.bg-deep .chapter-num { color: #33586a; -webkit-text-stroke-color: transparent; }
.section-head > *:not(.chapter-num) { position: relative; z-index: 1; }
@media (max-width: 700px) { .chapter-num { font-size: 5rem; opacity: .7; } }

/* ---------- מאמרים ---------- */
.article-grid {
  display: grid; gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.article-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column;
  transition: border-color .18s ease;
}
.article-card:hover { border-color: var(--petrol); }
.article-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.article-card-body { padding: 1rem 1.1rem 1.15rem; }
.article-card .tag {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  color: var(--rose-deep); margin-bottom: .4rem;
}
.article-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); line-height: 1.35; }
.article-card span.desc { display: block; margin-top: .4rem; font-size: .89rem; color: var(--muted); line-height: 1.5; }

/* ---------- איורי המותג מהאינסטגרם ---------- */
/* איורי קו בטורקיז על קרם, בדיוק בסגנון הלוגו. הרקע שלהם זהה
   למשתנה --cream ולכן הם מתמזגים בלי מסגרת. */
.topic-art {
  width: 84px; height: 84px;
  object-fit: cover; border-radius: 50%;
  margin-bottom: .9rem;
  mix-blend-mode: multiply;
}
.topic { display: flex; flex-direction: column; }
.activity .topic-art { background: var(--cream); }

/* פורטרט עגול. המקור הוא כרטיס "נעים להכיר" של הגן, שבו התמונה
   כבר יושבת בתוך טבעת לבנה, ולכן העיגול נופל בדיוק על הטבעת. */
.portrait img {
  display: block; width: 100%; max-width: 280px; height: auto;
  aspect-ratio: 1; object-fit: cover; border-radius: 50%;
}
.portrait figcaption { max-width: 280px; }

/* פס תמונה רחב ונמוך, שנועד לשבור מקטע טקסט ארוך בלי להשתלט עליו.
   המקורות הם 1400x440, ולכן הוא נשאר חד גם במסך רטינה. */
.strip { margin: clamp(34px, 4.2vw, 52px) 0; }
.strip:last-child { margin-bottom: 0; }
.strip .ph { aspect-ratio: 2 / 1; }
/* המקור הוא 1400x440. יחס צר מדי במסך קטן חותך את רוב הרוחב,
   ולכן הפס נשאר רחב גם שם, רק קצת פחות. */
@media (max-width: 700px) { .strip .ph { aspect-ratio: 3 / 2; } }
.strip figcaption {
  margin-top: .7rem; font-size: .84rem; line-height: 1.55; color: var(--muted);
}
.bg-deep .strip figcaption { color: #a9c0c8; }

/* איור בודד שמפריד בין מקטעים, במקום פס תמונה */
.section-art {
  display: block; width: 132px; height: 132px;
  object-fit: cover; border-radius: 50%;
  background: var(--cream);
  margin: clamp(30px, 3.6vw, 44px) auto 0;
  mix-blend-mode: multiply;
}
.bg-deep .section-art { mix-blend-mode: normal; opacity: .92; }

.hero-shot {
  aspect-ratio: 21 / 9;
  margin-top: clamp(30px, 4vw, 46px);
}
@media (max-width: 700px) { .hero-shot { aspect-ratio: 16 / 10; } }

/* כרטיסי הסדרות, כפי שהם מתפרסמים באינסטגרם */
.series-art {
  display: block; width: 100%; max-width: 210px; height: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  margin-bottom: 1.1rem;
}

.toc-art {
  width: 110px; height: 110px;
  object-fit: cover; border-radius: 50%;
  margin: 0 auto 1rem;
  display: block;
  mix-blend-mode: multiply;
}

/* ---------- קיר תמונות מהפעילויות ---------- */
.photo-wall { margin: clamp(36px, 4.5vw, 56px) 0 0; }
.photo-wall-title { font-size: 1.15rem; margin-bottom: 1.1rem; }
/* עמודות קבועות, ולא auto-fit. עם auto-fit מספר העמודות משתנה לפי
   הרוחב, ואז שורה אחרונה חלקית כמעט תמיד. כאן מספר התמונות מותאם
   למספר העמודות, כך שהמלבן תמיד שלם. */
.photo-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-grid .ph { aspect-ratio: 900 / 741; }
.photo-wall figcaption {
  margin-top: .8rem; font-size: .87rem; color: var(--muted);
}
