/* ============================================================
   הדרך הביתה — דפנה לוטן
   Palette: soft lavender on cream-white
   lavender-white #FBF7FC · purple #7E4E86 · soft lavender #B79BC4
   ============================================================ */
:root {
  --cream:     #FBF7FC;
  --cream-2:   #F5EEF8;
  --cream-3:   #FFFFFF;
  --plum:      #7E4E86;
  --plum-deep: #683E72;
  --plum-soft: #9E7BAC;
  --gold:      #B79BC4;   /* soft lavender accent (dividers, borders, hearts) */
  --gold-soft: #D8C6E0;
  --lav-bg:    #EFE5F5;   /* light lavender panel / card background */
  --ink:       #4A3B4E;
  --ink-soft:  #6F5F6B;

  --display: 'Rubik', system-ui, sans-serif;
  --body:    'Assistant', system-ui, 'Segoe UI', sans-serif;
  --script:  'Gveret Levin AlefAlefAlef', 'Assistant', cursive;

  --container: 1220px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 70px -38px rgba(75, 35, 70, .4);
}

* , *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.a11y-contrast { filter: contrast(1.25) saturate(1.15); }

body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 82% 0%, #f3e9f8 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 100%, #ede1f4 0%, transparent 60%),
    var(--cream);
  line-height: 1.75;
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--plum); color: #fff; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.6rem); }

.skip-link { position: fixed; inset-block-start: -120px; inset-inline-start: 14px; z-index: 1200; background: var(--plum); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 12px; transition: inset-block-start .2s; }
.skip-link:focus { inset-block-start: 0; }

.script { font-family: var(--script); color: var(--plum); line-height: 1.2; }

/* ---------- divider with gold heart ---------- */
.divider { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0; }
.divider--start { justify-content: flex-start; }
.divider__line { height: 1.5px; width: clamp(60px, 12vw, 150px); background: linear-gradient(to left, var(--gold), transparent); }
.divider__line:last-child { background: linear-gradient(to right, var(--gold), transparent); }
.divider__heart { color: var(--gold); font-size: 1.1rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--body); font-weight: 600; font-size: 1rem; padding: .85rem 1.9rem; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s; }
.btn--primary { background: var(--plum); color: #fff; box-shadow: 0 14px 26px -12px rgba(107, 44, 95, .6); }
.btn--primary:hover { background: var(--plum-deep); transform: translateY(-2px); }
.btn__arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); font-size: 1.1rem; line-height: 1; }
.btn--outline { background: transparent; color: var(--plum); border-color: var(--plum); padding: .65rem 1.4rem; font-size: .95rem; }
.btn--outline:hover { background: var(--plum); color: #fff; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(0,0,0,.3); }
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 14px 26px -12px rgba(37,211,102,.6); }
.btn--wa:hover { background: #1eb558; transform: translateY(-2px); }
.btn--block { width: 100%; }
.contact-direct .btn { margin-top: 1.6rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .12s; }
.reveal[data-d="2"] { transition-delay: .24s; }

/* ============================================================
   Navbar
   ============================================================ */
.nav { position: absolute; inset-inline: 0; top: 0; z-index: 100; }
.nav.fixed { position: fixed; background: rgba(245, 237, 224, .9); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -22px rgba(75,35,70,.6); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; gap: .12rem; }
.brand__row { display: inline-flex; align-items: center; gap: .4rem; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--plum); }
.brand__sprig { width: 20px; height: 20px; color: var(--gold); flex: none; }
.brand__by { font-size: .74rem; color: var(--plum-soft); font-weight: 600; letter-spacing: .01em; }
.menu { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.35rem); }
.menu a.menu__cta { background: var(--plum); color: #fff; padding: .5rem 1.35rem; border-radius: 999px; font-weight: 600; box-shadow: 0 12px 22px -12px rgba(126,78,134,.6); transition: background .25s, transform .25s; }
.menu a.menu__cta::after { display: none; }
.menu a.menu__cta:hover { background: var(--plum-deep); color: #fff; transform: translateY(-1px); }
.menu a { font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; padding: .4rem 0; transition: color .2s; white-space: nowrap; }
.menu a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--plum); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu a:hover { color: var(--plum); }
.menu a:hover::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--plum); font-weight: 700; }
.menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 25px; height: 2px; background: var(--plum); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; isolation: isolate; min-height: min(90vh, 820px); padding-top: clamp(90px, 12vh, 130px); padding-bottom: 90px; overflow: hidden; }
section[id] { scroll-margin-top: 84px; }
/* both hero figures share one height and sit on the same bottom baseline */
.hero { --hero-fig-h: clamp(340px, 62vh, 600px); }
.hero__photo {
  position: absolute; inset-block-end: 0; inset-inline-start: 0; /* RTL start = right; bottom-aligned to match the plant */
  height: var(--hero-fig-h); width: auto; max-width: 52%; object-fit: contain; object-position: bottom; z-index: 1;
  -webkit-mask-image: linear-gradient(to left, #000 58%, transparent 95%), linear-gradient(to top, transparent 1%, #000 16%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to left, #000 58%, transparent 95%), linear-gradient(to top, transparent 1%, #000 16%); mask-composite: intersect;
}
.hero__plants {
  position: absolute; inset-block-end: 0; inset-inline-end: 0; /* RTL end = left; flush to the left edge */
  height: clamp(430px, 82vh, 780px); width: auto; z-index: 0; opacity: 1; /* larger than Daphna so it's clearly visible in the corner */
  -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 92%), linear-gradient(to bottom, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, #000 35%, transparent 92%), linear-gradient(to bottom, transparent 0%, #000 16%); mask-composite: intersect;
}
.hero__wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.5rem; }
.hero__content { position: relative; z-index: 2; grid-column: 2; max-width: 620px; text-align: start; }
.hero .divider { justify-content: center; }
.hero { background:
    radial-gradient(72% 82% at 76% 40%, #e8d6f2 0%, transparent 58%),
    radial-gradient(55% 70% at 8% 62%, #efe2f6 0%, transparent 62%); }
.hero__title { font-family: var(--display); font-weight: 900; color: var(--plum); font-size: clamp(3.4rem, 2rem + 8vw, 7rem); line-height: .92; letter-spacing: -0.01em; }
.hero__sub { color: var(--plum-soft); font-weight: 500; font-size: clamp(1.05rem, .95rem + .55vw, 1.4rem); margin-top: 1.1rem; max-width: 26ch; line-height: 1.6; }
.hero__branch { display: block; color: var(--gold); width: clamp(120px, 15vw, 165px); margin: 1.5rem 0; }
.hero__branch svg { width: 100%; height: auto; }
.hero__cta { margin-top: .3rem; padding: .95rem 2.5rem; font-size: 1.08rem; }

/* ============================================================
   Welcome
   ============================================================ */
.welcome { padding-block: clamp(3rem, 6vw, 5rem); }
.welcome__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.welcome__body { text-align: start; }
.welcome__body .section-title { margin-bottom: 1.2rem; }
.welcome__body p { color: var(--ink); margin-bottom: 1rem; max-width: 46ch; }
.welcome__icon { display: grid; place-items: center; color: var(--plum); }
.welcome__icon svg { width: min(280px, 78%); height: auto; filter: drop-shadow(0 26px 42px rgba(126,78,134,.18)); }

/* ============================================================
   Paths (category cards) — "איך תרצו לפגוש את הדרך היום?"
   ============================================================ */
.paths { padding-block: clamp(1.5rem, 3vw, 3rem) clamp(3.5rem, 7vw, 6rem); }
.paths__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.8rem, 1.4vw, 1.15rem); }
.path { background: var(--cream-3); border: 1px solid var(--gold-soft); border-radius: 20px; padding: clamp(1.3rem, 1.8vw, 1.7rem) clamp(1rem, 1.4vw, 1.25rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .75rem; box-shadow: 0 20px 45px -38px rgba(126,78,134,.5); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.path:hover { transform: translateY(-6px); box-shadow: 0 28px 55px -32px rgba(126,78,134,.5); border-color: var(--plum-soft); }
.path__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(160deg, var(--plum-soft), var(--plum)); color: #fff; box-shadow: 0 14px 24px -12px rgba(126,78,134,.6); }
.path__icon svg { width: 30px; height: 30px; }
.path__title { font-family: var(--display); font-weight: 700; color: var(--plum); font-size: 1.1rem; }
.path__text { font-size: .85rem; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.path__link { font-weight: 600; color: var(--plum); font-size: .92rem; display: inline-flex; align-items: center; gap: .3rem; }
.path__link span { transition: transform .25s; }
.path__link:hover { color: var(--plum-deep); }
.path__link:hover span { transform: translateX(-4px); }

@media (max-width: 1000px) { .paths__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
  .paths__grid { grid-template-columns: repeat(2, 1fr); }
  .welcome__grid { grid-template-columns: 1fr; text-align: center; }
  .welcome__body { text-align: center; }
  .welcome__body p { margin-inline: auto; }
  .welcome__icon { order: -1; }
  .welcome__icon svg { width: min(190px, 60%); }
}
@media (max-width: 400px) { .paths__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Section heads
   ============================================================ */
.section-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; justify-items: center; }
.section-head__script { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); }
.section-title { font-family: var(--display); font-weight: 800; color: var(--plum); font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.1; }
.section-head .divider { justify-content: center; }

/* ============================================================
   Courses
   ============================================================ */
.courses { padding-block: clamp(3.5rem, 7vw, 6rem); }
.courses__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.course { background: var(--cream-2); border: 1px solid rgba(201, 168, 106, .35); border-radius: 20px; padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; box-shadow: 0 20px 50px -40px rgba(75,35,70,.5); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.course:hover { transform: translateY(-5px); box-shadow: 0 28px 60px -36px rgba(75,35,70,.55); border-color: var(--gold); }
.course__name { font-family: var(--display); font-weight: 600; color: var(--plum); font-size: 1.12rem; line-height: 1.5; flex: 1; }
.course__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid rgba(201,168,106,.3); }
.course__price { font-family: var(--display); font-weight: 800; color: var(--gold); font-size: 1.4rem; }

/* ============================================================
   Join
   ============================================================ */
.join { padding-block: clamp(3rem, 6vw, 5rem); }
.join__grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.join__intro { background: var(--cream-2); border: 1px solid rgba(201,168,106,.3); border-radius: 24px; padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); }
.join__text { color: var(--ink); margin-bottom: 1.4rem; max-width: 46ch; }
.join__form { min-height: 60px; }
.join__form :is(input, textarea) { font-family: var(--body); }
.join__note { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; }
.join__wa { background: linear-gradient(160deg, var(--plum), var(--plum-deep)); color: #fff; border-radius: 24px; padding: clamp(1.8rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; box-shadow: var(--shadow); }
.join__wa-icon { color: #fff; opacity: .9; }
.join__wa-title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.join__wa-text { color: rgba(255,255,255,.86); }

/* ============================================================
   Quote
   ============================================================ */
.quote { background: linear-gradient(135deg, var(--plum-deep), var(--plum)); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.quote .container { display: grid; justify-items: center; gap: 1rem; }
.quote__orn, .quote__heart { color: var(--gold); font-size: 1.6rem; }
.quote__text { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); line-height: 1.5; max-width: 24ch; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--cream-2); border-top: 1px solid rgba(201,168,106,.4); padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.footer__inner { display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.footer__brand { display: grid; gap: .2rem; }
.footer__brand .brand__name { font-size: 1.5rem; }
.footer__brand .brand__by { font-size: .85rem; }
.footer__nav, .footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.4rem; }
.footer__nav a:hover, .footer__legal a:hover { color: var(--plum); }
.footer__legal a { color: var(--ink-soft); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { font-size: .84rem; color: var(--ink-soft); display: grid; gap: .25rem; }
.footer__credit a { color: var(--plum); }

/* ============================================================
   Inner pages (about / courses / schedule)
   ============================================================ */
.inner { padding-top: clamp(110px, 16vh, 150px); padding-bottom: clamp(3rem, 6vw, 5rem); }

/* about */
.about-page__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-page__photo { position: sticky; top: 100px; justify-items: center; display: grid; }
.about-page__photo img { width: 100%; max-width: 390px; border-radius: 22px; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.about-page__body { max-width: 62ch; }
.about-page__body p { margin-bottom: 1.7rem; font-size: 1.1rem; line-height: 2; }
.about-page__body > p:first-of-type { font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); line-height: 1.7; color: var(--plum); margin-bottom: 2rem; }
.about-page__find { font-family: var(--display); font-weight: 700; color: var(--plum); font-size: 1.25rem; margin: 2.4rem 0 1rem !important; }
.about-page__body ul { display: grid; gap: 1rem; margin: 1rem 0 2.2rem; padding: 1.6rem 1.8rem; list-style: none; background: var(--cream-2); border: 1px solid rgba(201,168,106,.3); border-radius: 18px; box-shadow: 0 18px 50px -42px rgba(75,35,70,.5); }
.about-page__body li { position: relative; padding-inline-start: 1.9rem; line-height: 1.65; }
.about-page__body li::before { content: "♥"; position: absolute; inset-inline-start: 0; color: var(--gold); }
.about-page__body hr { border: 0; height: 1px; background: linear-gradient(to left, transparent, var(--gold), transparent); margin: 2.4rem auto; max-width: 220px; }
.about-page__closing { font-family: var(--script); color: var(--plum); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.4; margin-top: 1rem !important; text-align: center; }

/* contact page */
.contact-page__intro { text-align: center; max-width: 58ch; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); }
.contact-page__intro p { margin-bottom: 1rem; font-size: 1.08rem; }
.contact-page__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.cform { background: var(--cream-2); border: 1px solid rgba(201,168,106,.35); border-radius: 24px; padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); }
.cform h2, .contact-direct h2 { font-family: var(--display); color: var(--plum); font-size: 1.5rem; margin-bottom: 1.3rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field textarea { font-family: var(--body); font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid rgba(86,99,89,.3); border-radius: 11px; padding: .8rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(107,44,95,.14); }
.field__error { font-size: .83rem; color: #b4452f; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #b4452f; }
.field.invalid .field__error { display: block; }
.cform__sent { margin-top: .5rem; background: rgba(107,44,95,.1); border: 1px solid rgba(107,44,95,.35); color: var(--plum); padding: .9rem 1.1rem; border-radius: 11px; font-weight: 600; text-align: center; }
.contact-direct { background: linear-gradient(160deg, var(--plum), var(--plum-deep)); color: #fff; border-radius: 24px; padding: clamp(1.6rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); }
.contact-direct h2 { color: #fff; }
.contact-direct ul { list-style: none; padding: 0; display: grid; gap: 1.2rem; }
.contact-direct li { display: flex; align-items: flex-start; gap: .9rem; line-height: 1.5; }
.contact-direct svg { flex: none; color: var(--gold-soft); margin-top: 3px; }
.contact-direct a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-direct a:hover { color: var(--gold-soft); }
.contact-direct span { color: rgba(255,255,255,.92); }
.contact-closing { text-align: center; max-width: 52ch; margin: clamp(2.6rem, 5vw, 3.6rem) auto 0; }
.contact-closing p { margin-bottom: .6rem; }
.contact-closing .script { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); margin-top: 1.2rem; }
.contact-closing__sign { font-family: var(--display); font-weight: 700; color: var(--plum); margin-top: .5rem !important; }
@media (max-width: 860px) { .contact-page__grid { grid-template-columns: 1fr; } .cform__row { grid-template-columns: 1fr; } }

/* schedule */
.sched__intro { text-align: center; max-width: 52ch; margin: 0 auto clamp(2rem, 4vw, 3rem); color: var(--ink); }
.sched__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.1rem; }
.sched__day { background: var(--cream-2); border: 1px solid rgba(201,168,106,.35); border-radius: 16px; padding: 1.4rem 1.1rem; text-align: center; transition: transform .3s var(--ease), border-color .3s; }
.sched__day:hover { transform: translateY(-4px); border-color: var(--gold); }
.sched__day h3 { font-family: var(--display); color: var(--plum); font-size: 1.25rem; margin-bottom: .6rem; }
.sched__time { color: var(--ink); }
.sched__time strong { display: block; color: var(--gold); font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: .15rem; }
.prices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.price { background: var(--cream-2); border: 1px solid rgba(201,168,106,.35); border-radius: 20px; padding: 2.2rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.price h3 { font-family: var(--display); color: var(--plum); font-size: 1.15rem; margin-bottom: 1rem; line-height: 1.4; }
.price__amount { font-family: var(--display); font-weight: 800; color: var(--gold); font-size: 2.3rem; }
.sched__options { list-style: none; padding: 0; display: grid; gap: .6rem; max-width: 42ch; margin: 0 auto; }
.sched__options li { position: relative; padding-inline-start: 1.7rem; }
.sched__options li::before { content: "♥"; position: absolute; inset-inline-start: 0; color: var(--gold); }
.sched__closing { text-align: center; max-width: 48ch; margin: 2.4rem auto 0; }
.sched__closing .script { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); margin: .7rem 0 1.6rem; }

@media (max-width: 860px) {
  .about-page__grid { grid-template-columns: 1fr; }
  .about-page__photo { position: static; margin-bottom: 1rem; }
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal { padding-top: clamp(100px, 14vh, 140px); padding-bottom: clamp(3rem, 6vw, 5rem); }
.legal__notice { background: #fbeede; border: 1.5px solid var(--gold); color: #7a5a1e; border-radius: 14px; padding: 1rem 1.3rem; margin-bottom: 2.2rem; font-size: .95rem; }
.legal__notice strong { color: var(--plum); }
.legal h1 { font-family: var(--display); font-weight: 800; color: var(--plum); font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.8rem); margin-bottom: .4rem; }
.legal__updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { font-family: var(--display); font-weight: 700; color: var(--plum); font-size: 1.3rem; margin: 2rem 0 .7rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-inline-start: 1.3rem; display: grid; gap: .4rem; margin: .6rem 0; }
.legal .container { max-width: 860px; }
.legal__a11y-tools { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.legal__a11y-tools button { font-family: var(--body); background: var(--cream-2); border: 1.5px solid var(--gold); color: var(--plum); border-radius: 10px; padding: .55rem 1rem; cursor: pointer; font-weight: 600; }
.legal__a11y-tools button:hover { background: var(--plum); color: #fff; border-color: var(--plum); }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- accessibility widget ---------- */
.a11y { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 95; }
.a11y__btn { width: 52px; height: 52px; border-radius: 50%; background: var(--plum); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(107,44,95,.7); }
.a11y__panel { position: absolute; inset-block-end: 64px; inset-inline-end: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: .6rem; display: grid; gap: .3rem; min-width: 190px; }
.a11y__panel[hidden] { display: none; }
.a11y__panel button, .a11y__panel a { font-family: var(--body); font-size: .92rem; text-align: start; background: var(--cream); border: 0; border-radius: 9px; padding: .6rem .8rem; cursor: pointer; color: var(--ink); }
.a11y__panel button:hover, .a11y__panel a:hover { background: var(--cream-2); color: var(--plum); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services__card { grid-template-columns: repeat(3, 1fr); gap: 1.2rem 0; }
  .service:nth-child(3n)::before, .service:nth-child(1)::before { } /* keep simple */
  .join__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(245,237,224,.98); backdrop-filter: blur(14px); padding: .5rem 1.2rem 1.3rem; box-shadow: 0 20px 40px -24px rgba(75,35,70,.5); transform: translateY(-130%); transition: transform .4s var(--ease); }
  .menu.open { transform: translateY(0); }
  .menu a { padding: .85rem .2rem; border-bottom: 1px solid rgba(201,168,106,.3); }
  .menu a::after { display: none; }
  .nav { position: fixed; background: rgba(245,237,224,.92); backdrop-filter: blur(12px); }
  .nav__toggle { display: flex; }

  .hero { min-height: auto; text-align: center; padding-top: 110px; }
  .hero__wrap { grid-template-columns: 1fr; }
  .hero__content { grid-column: 1; max-width: 100%; text-align: center; margin-inline: auto; }
  .hero .divider, .hero__para { margin-inline: auto; }
  .hero__para { text-align: center; }
  .hero__photo { position: static; max-width: 280px; height: auto; margin: 1.5rem auto -1rem; -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent); }
  .hero__plants { display: none; }

  .services { margin-top: 1.5rem; }
  .services__card { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0; }
  .service::before { display: none !important; }
  .course__name { font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .services__card { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .join__wa { align-items: center; text-align: center; }
}

/* ============================================================
   Articles — "מילים לדרך" listing (articles.html)
   ============================================================ */
.articles-hero { padding-bottom: clamp(1rem, 2vw, 1.6rem); }
.articles-hero__sub { max-width: 56ch; margin: .4rem auto 0; color: var(--ink-soft); font-size: 1.05rem; }
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.chip { font-family: var(--body); font-weight: 600; font-size: .9rem; color: var(--plum); background: var(--cream-3); border: 1.5px solid var(--gold-soft); border-radius: 999px; padding: .5rem 1.1rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.chip:hover { border-color: var(--plum-soft); transform: translateY(-1px); }
.chip.is-active { background: var(--plum); color: #fff; border-color: var(--plum); box-shadow: 0 12px 22px -12px rgba(126,78,134,.6); }

.articles-list { padding-block: clamp(2rem, 4vw, 3.2rem) clamp(3rem, 6vw, 5rem); display: grid; gap: clamp(2.6rem, 5vw, 4rem); }
.cat-block { scroll-margin-top: 96px; }
.cat-block[hidden] { display: none; }
.cat-block__head { max-width: 62ch; margin-bottom: clamp(1.4rem, 2.5vw, 2rem); }
.cat-block__title { font-family: var(--display); font-weight: 800; color: var(--plum); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.2; }
.cat-block__desc { color: var(--ink-soft); margin-top: .5rem; font-size: 1.02rem; }
.acard__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.acard { position: relative; cursor: pointer; background: var(--cream-3); border: 1px solid var(--gold-soft); border-radius: 18px; padding: clamp(1.3rem, 2vw, 1.7rem); display: flex; flex-direction: column; gap: .7rem; box-shadow: 0 20px 45px -40px rgba(126,78,134,.5); transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .3s; }
.acard:hover { transform: translateY(-5px); box-shadow: 0 28px 55px -34px rgba(126,78,134,.5); border-color: var(--plum-soft); }
/* whole card is clickable — the title link stretches over the entire card */
.acard__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.acard:hover .acard__title a { color: var(--plum-deep); }
.acard:hover .acard__link span { transform: translateX(-4px); }
.acard__link { position: relative; z-index: 2; } /* keep focus ring usable, sits above overlay */
.acard__title { font-family: var(--display); font-weight: 700; font-size: 1.16rem; line-height: 1.4; }
.acard__title a { color: var(--plum); transition: color .2s; }
.acard__title a:hover { color: var(--plum-deep); }
.acard__excerpt { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; flex: 1; }
.acard__link { font-weight: 600; color: var(--plum); font-size: .93rem; display: inline-flex; align-items: center; gap: .3rem; margin-top: .2rem; }
.acard__link span { transition: transform .25s; }
.acard__link:hover { color: var(--plum-deep); }
.acard__link:hover span { transform: translateX(-4px); }

/* ============================================================
   Single article page
   ============================================================ */
.article__container { max-width: 760px; }
.crumbs { font-size: .86rem; color: var(--ink-soft); margin-bottom: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.9; }
.crumbs a { color: var(--plum-soft); }
.crumbs a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.article__head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.article__cat { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .2rem; }
.article__title { font-family: var(--display); font-weight: 800; color: var(--plum); font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem); line-height: 1.15; }
.article__byline { color: var(--ink-soft); font-size: .95rem; margin-top: .3rem; }
.article__byline strong { color: var(--plum); font-weight: 700; }
.article__body { max-width: 68ch; font-size: 1.09rem; }
.article__body p { color: var(--ink); line-height: 1.95; margin-bottom: .55rem; }
.article__body > p + p { margin-top: 0; }
.article__lead { font-family: var(--display); font-weight: 500; color: var(--plum) !important; font-size: 1.18rem; line-height: 1.7 !important; border-inline-start: 3px solid var(--gold); padding-inline-start: 1.1rem; margin: 1.4rem 0 !important; }
.article__sub { font-family: var(--display); font-weight: 700; color: var(--plum-deep); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.3; margin: 2.2rem 0 .8rem; }
.article__note { background: var(--lav-bg); border: 1px solid var(--gold-soft); border-radius: 16px; padding: 1.2rem 1.4rem; margin: 1.6rem 0; box-shadow: 0 16px 40px -38px rgba(75,35,70,.5); }
.article__note-label { font-family: var(--display); font-weight: 700; color: var(--plum); font-size: 1.05rem; margin-bottom: .35rem !important; }
.article__note p { margin-bottom: .3rem; }
.article__note p:last-child { margin-bottom: 0; }
.article__placeholder { background: var(--cream-2); border: 1px dashed var(--gold); border-radius: 14px; padding: 1.6rem; text-align: center; color: var(--ink-soft); font-size: 1.1rem; }

.article__relnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2.4rem, 5vw, 3.4rem); border-top: 1px solid var(--gold-soft); padding-top: clamp(1.6rem, 3vw, 2.2rem); }
.article__nav-link { display: grid; gap: .25rem; background: var(--cream-3); border: 1px solid var(--gold-soft); border-radius: 14px; padding: 1rem 1.2rem; transition: border-color .25s, transform .25s, box-shadow .25s; }
.article__nav-link:hover { border-color: var(--plum-soft); transform: translateY(-2px); box-shadow: 0 18px 40px -34px rgba(126,78,134,.5); }
.article__nav-next { text-align: start; }
.article__nav-prev { text-align: end; }
.article__nav-dir { font-size: .82rem; color: var(--plum-soft); font-weight: 600; }
.article__nav-t { font-family: var(--display); font-weight: 600; color: var(--plum); font-size: 1rem; line-height: 1.35; }

.article__more { margin-top: clamp(2.4rem, 5vw, 3.4rem); background: var(--cream-2); border: 1px solid rgba(201,168,106,.3); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.2rem); }
.article__more-title { font-family: var(--display); font-weight: 700; color: var(--plum); font-size: 1.25rem; margin-bottom: 1.1rem; line-height: 1.3; }
.article__sib { list-style: none; padding: 0; display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.article__sib li { position: relative; padding-inline-start: 1.5rem; line-height: 1.5; }
.article__sib li::before { content: "♥"; position: absolute; inset-inline-start: 0; color: var(--gold); font-size: .85rem; top: .15rem; }
.article__sib a { color: var(--ink); transition: color .2s; }
.article__sib a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.article__sib li.is-current span { color: var(--plum); font-weight: 700; }

/* placeholder inner pages (podcast / workshops / community) */
.ph-page__body { max-width: 60ch; }
.ph-page__body p { margin-bottom: 1.2rem; font-size: 1.08rem; line-height: 1.9; color: var(--ink); }
.ph-note { background: var(--lav-bg); border: 1px solid var(--gold-soft); border-radius: 14px; padding: 1.1rem 1.3rem; color: var(--ink) !important; }
.ph-note strong { color: var(--plum); }
.ph-page__body .btn { margin-top: .4rem; margin-inline-end: .6rem; }

@media (max-width: 560px) {
  .article__relnav { grid-template-columns: 1fr; }
  .article__nav-prev, .article__nav-next { text-align: start; }
}

/* font scaling (a11y) */
html.a11y-lg  { font-size: 112.5%; }
html.a11y-lg2 { font-size: 125%; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
