/*
  מעצמאית למנכ״לית, 30.10.2026 (Hamutal):
  1. two "pathos" lines at the top: a yellow strip over the hero photo (.pathos-strip) and a statement under the hero
     (.pathos-line, the bold part in yellow);
  2. "ספירלת היצירה" (partials/sections/spiral.html) in place of the four dark "areas" cards;
  3. "המערכת" (partials/sections/system.html): the AI-ready site built in the process.
  4.11.2026: "בתהליך המלא" (partials/sections/spiral-process.html), the phase cards in their own block after the spiral.
  Loaded after program-rewrite.css in layouts/base.html.
*/

/* ---------- Pathos ---------- */
.program-hero__media { position: relative; }
.pathos-strip {
  position: absolute; z-index: 1; inset-inline: clamp(14px, 2.2vw, 30px); inset-block-end: clamp(14px, 2.2vw, 30px);
  margin: 0; padding: 14px 20px; background: var(--yellow); color: var(--dark);
  font-family: var(--font-text); font-weight: 800; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.25; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}
.pathos-line {
  display: grid; justify-items: center; gap: 18px; max-inline-size: 1040px; margin: 0 auto;
  padding: clamp(52px, 5.5vw, 80px) var(--gutter) 0; text-align: center;
}
.pathos-line__icon { inline-size: clamp(32px, 3vw, 44px); color: var(--orange); }
.pathos-line__text { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; color: var(--paper); }
.pathos-line__text strong { font-weight: 400; color: var(--yellow); }

/* ---------- ספירלת היצירה ---------- */
.spiral { padding: 80px var(--gutter) 0; text-align: center; color: var(--paper); }
.spiral__title { font-family: var(--font-display); font-weight: 600; letter-spacing: normal; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--paper); }
.spiral__subtitle { max-inline-size: 40em; margin: 18px auto 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: var(--paper); }
.spiral__figure { max-inline-size: 1000px; margin: clamp(20px, 3vw, 40px) auto 0; }
.spiral__svg { display: block; inline-size: 100%; block-size: auto; font-family: var(--font-text); }
.spiral__svg--narrow, .spiral__rounds { display: none; }
.spiral__phases {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
  max-inline-size: 1200px; margin: clamp(32px, 4vw, 56px) auto 0; padding: 0; list-style: none; text-align: start;
}
.spiral__phase { padding: clamp(24px, 2.4vw, 36px); border: 1px solid rgba(255, 255, 255, .2); border-radius: 22px; }
.spiral__phase h3 { margin-block-end: 18px; font-family: var(--font-text); font-weight: 800; letter-spacing: 0; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; }
.spiral__phase--in h3 { color: var(--lime); }
.spiral__phase--make h3 { color: var(--yellow); }
.spiral__phase--out h3 { color: var(--orange); }
.spiral__phase ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.3; color: var(--paper); }
.spiral__note { margin-block-start: 18px; font-size: 16px; line-height: 1.4; color: var(--grey-on-dark); }

/* ---------- בתהליך המלא (after the spiral) ---------- */
.spiral-process {
  max-inline-size: 1200px; margin: clamp(72px, 8vw, 120px) auto 0; padding: clamp(48px, 5vw, 72px) var(--gutter) 0;
  border-block-start: 1px solid rgba(255, 255, 255, .16); text-align: center; color: var(--paper);
}
.spiral-process__title { margin-block-start: 18px; font-family: var(--font-display); font-weight: 600; letter-spacing: normal; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; color: var(--paper); }
.spiral-process__text { max-inline-size: 38em; margin: 18px auto 0; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--paper); }
.spiral-process__alone { max-inline-size: 1000px; margin: clamp(40px, 4.5vw, 64px) auto 0; }
.spiral-process__alone-title { font-family: var(--font-text); font-weight: 800; letter-spacing: 0; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; color: var(--orange); }
.spiral-process__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.spiral-process__chips li {
  padding: 10px 20px; border: 1px solid rgba(255, 126, 6, .55); border-radius: 999px;
  font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.3; color: var(--paper); background: rgba(255, 126, 6, .08);
}
.spiral-process__punch { margin-block-start: 28px; font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; color: var(--paper); }

@media (max-width: 860px) {
  .pathos-strip { padding: 10px 14px; font-size: 16px; }
  .pathos-line { padding-block-start: 40px; gap: 14px; }
  .pathos-line__text { font-size: 23px; }

  .spiral { padding-block-start: 48px; }
  .spiral__title { font-size: 40px; }
  .spiral__subtitle { font-size: 18px; }
  .spiral__svg--wide { display: none; }
  .spiral__svg--narrow { display: block; max-inline-size: 420px; margin-inline: auto; }
  .spiral__rounds {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    margin: 8px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--grey-on-dark);
  }
  .spiral__phases { grid-template-columns: 1fr; gap: 12px; margin-block-start: 28px; }
  .spiral__phase { padding: 22px 20px; }
  .spiral__phase h3 { font-size: 26px; margin-block-end: 14px; }
  .spiral__phase ol { gap: 10px; font-size: 18px; }

  .spiral-process { margin-block-start: 48px; padding-block-start: 40px; }
  .spiral-process__title { font-size: 32px; }
  .spiral-process__text { font-size: 18px; }
  .spiral-process__chips { gap: 8px; }
  .spiral-process__chips li { padding: 8px 14px; font-size: 16px; }
  .spiral-process__punch { font-size: 22px; }
}

/* ---------- המערכת (partials/sections/system.html): the site built in the process ---------- */
.system { padding: var(--space-l) var(--gutter); text-align: center; }
.system__title { max-inline-size: 16em; margin: 18px auto 0; font-family: var(--font-display); font-weight: 400; letter-spacing: normal; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; }
.system__text { max-inline-size: 720px; margin: 22px auto 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; }
.system__text p + p { margin-block-start: 1em; }
.system__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  max-inline-size: 1140px; margin: clamp(32px, 4vw, 52px) auto 0; padding: 0; list-style: none; text-align: start;
}
.system__list li {
  position: relative; padding: 22px 24px; padding-inline-start: 64px; border-radius: var(--radius); background: var(--white);
  font-size: clamp(17px, 1.3vw, 18.5px); line-height: 1.45;
}
.system__list li::before {
  content: "✓"; position: absolute; inset-inline-start: 22px; inset-block-start: 22px;
  display: grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%;
  background: var(--yellow); border: 1.5px solid var(--ink); color: var(--ink);
  font-family: var(--font-text); font-size: 14px; font-weight: 700; line-height: 1;
}
.system__punch { max-inline-size: 22em; margin: clamp(32px, 4vw, 48px) auto 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.system__note { max-inline-size: 640px; margin: 18px auto 0; font-size: 16px; line-height: 1.5; color: var(--grey); }
@media (max-width: 1000px) {
  .system__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .system { padding-block: 48px; }
  .system__title { font-size: 32px; }
  .system__list { grid-template-columns: 1fr; gap: 10px; }
  .system__list li { padding: 16px 18px; padding-inline-start: 56px; font-size: 17px; }
  .system__list li::before { inset-inline-start: 18px; inset-block-start: 17px; }
  .system__punch { font-size: 24px; }
}
