/*
  Hamutal's requests of 25.10.2026 (loaded last in layouts/base.html).
*/

/* ---------- Menu: plain Heebo text links, no pill borders ---------- */
.site-nav__list { gap: clamp(16px, 2.2vw, 32px); }
.site-nav .pill {
  min-block-size: 34px; padding-inline: 0; border: 0; border-radius: 0; background: none;
  font-family: var(--font-text); font-weight: 400; font-size: 17px; line-height: 1.2; letter-spacing: normal;
  color: inherit; text-decoration: none; text-underline-offset: 6px; transition: none;
}
.site-nav .pill:hover, .site-header--dark .site-nav .pill:hover { background: none; color: inherit; border: 0; text-decoration: underline; text-decoration-thickness: 1px; }
.site-nav .pill[aria-current="page"], .site-header--dark .site-nav .pill[aria-current="page"] {
  background: none; color: inherit; border: 0; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px;
}
@media (max-width: 860px) {
  .js .site-nav .pill { min-block-size: 48px; font-size: 20px; }
}

/* Instagram link: in the mobile menu only (on desktop it is the footer icon). */
.site-nav__social { display: none; }
@media (max-width: 860px) {
  .site-nav__social { display: list-item; list-style: none; }
}

/* ---------- Mobile menu like Wix: full-screen panel, the menu button turns into an X to close ---------- */
@media (max-width: 860px) {
  .js .site-nav.is-open, .site-header--dark .site-nav.is-open {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 96px 24px 48px; overflow-y: auto; overscroll-behavior: contain;
    background-color: var(--dark); background-image: url("/assets/img/textures/noise-dark.png"); background-size: 400px;
    color: var(--paper);
  }
  .js .site-nav.is-open .site-nav__list { gap: 10px; inline-size: 100%; max-inline-size: 360px; }
  .js .site-nav.is-open .pill { font-family: var(--font-display); font-size: 30px; line-height: 1.1; min-block-size: 52px; color: var(--paper); }
  .js .site-nav.is-open .pill[aria-current="page"] { color: var(--yellow); font-weight: 400; text-decoration-color: var(--yellow); }
  .js .site-nav.is-open .site-nav__social { margin-block-start: 18px; padding-block-start: 18px; border-block-start: 1px solid rgba(255, 255, 255, .25); }
  .js .site-nav.is-open .site-nav__social .pill { font-family: var(--font-text); font-size: 18px; }

  .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle[aria-expanded="true"] { color: var(--paper); }
  .nav-toggle__icon::before, .nav-toggle__icon::after { transition: transform .2s ease, inset-block-start .2s ease; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { inset-block-start: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { inset-block-start: 0; transform: rotate(-45deg); }

  html:has(.site-nav.is-open) { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle__icon::before, .nav-toggle__icon::after { transition: none; }
}

/* ---------- "5 שלבים על ציר אחד" (מעצמאית למנכ״לית), single column: steps in order 1 → 5.
   site.css gave only steps 1 and 2 an order, so they dropped below 3, 4 and 5. ---------- */
@media (max-width: 1100px) {
  .timeline__list > .timeline__step { order: 0; }
}

/* ---------- Home projects: big "פרויקטים" + small Heebo line ---------- */
.projects-cards__title {
  max-inline-size: none; margin: 0 auto;
  font-size: clamp(64px, 9.4vw, 135px); line-height: 0.8;
}
.projects-cards__subtitle {
  max-inline-size: 675px; margin: 20px auto 72px; text-align: center;
  font-family: var(--font-text); font-weight: 400; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.4;
}
@media (max-width: 860px) {
  .projects-cards__title { font-size: min(64px, 13.5vw); }
  .projects-cards__subtitle { margin-block: 14px 40px; font-size: 17px; }
}

/* ---------- Instagram strip above the footer (switched off in layouts/base.html for now) ---------- */
.instagram-strip { margin-block-start: var(--space-l); padding-inline: var(--gutter); text-align: center; }
.instagram-strip__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; }
.instagram-strip__title a { color: inherit; text-decoration: none; }
.instagram-strip__title a:hover { text-decoration: underline; text-underline-offset: 6px; }
.instagram-strip__feed { margin-block-start: 24px; }
.instagram-strip__feed ul, .instagram-strip__feed .ib-instagram { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.instagram-strip__feed img { display: block; inline-size: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.instagram-strip + .site-footer { margin-block-start: 32px; }
@media (max-width: 860px) {
  .instagram-strip__feed ul, .instagram-strip__feed .ib-instagram { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
}

/* ---------- "Book an intro call" block on a photo (מעצמאית למנכ״לית, רומן מתמשך) ---------- */
.meeting-cta-wrap { padding: var(--space-l) var(--gutter) 0; scroll-margin-block-start: 24px; }
.meeting-cta {
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: grid; place-items: center; text-align: center; color: var(--white);
}
.meeting-cta__bg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.meeting-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(17, 16, 16, .35), rgba(17, 16, 16, .62)); }
.meeting-cta__content {
  position: relative; z-index: 1; display: grid; justify-items: center;
  inline-size: 100%; max-inline-size: 1100px; padding: clamp(48px, 6vw, 88px) clamp(16px, 4vw, 56px);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .3);
}
.meeting-cta__eyebrow { font-family: var(--font-display); font-weight: 400; font-size: clamp(18px, 1.4vw, 20.25px); color: var(--yellow); }
.meeting-cta__title {
  margin-block-start: 14px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--paper);
}
.meeting-cta__text { margin-block-start: 22px; max-inline-size: 640px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; }
.meeting-cta__note { margin-block-start: 10px; font-weight: 500; font-size: clamp(17px, 1.3vw, 19px); }
.meeting-cta__steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px);
  inline-size: 100%; margin: clamp(32px, 3.5vw, 48px) 0 0; padding: 0; list-style: none; text-shadow: none;
}
.meeting-cta__step {
  display: grid; justify-items: center; align-content: start; gap: 12px;
  padding: 28px 22px 30px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius);
  background: rgba(17, 16, 16, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.meeting-cta__n {
  display: grid; place-items: center; inline-size: 52px; block-size: 52px; border: 1.5px solid var(--yellow); border-radius: 50%;
  font-family: var(--font-text); font-weight: 400; font-size: 17px; color: var(--yellow);
}
.meeting-cta__step h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.3vw, 33px); line-height: 1; color: var(--paper); }
.meeting-cta__step p { font-size: 17px; line-height: 1.5; color: var(--paper); }
.meeting-cta__btn { margin-block-start: clamp(32px, 3.5vw, 44px); min-inline-size: 300px; justify-content: center; text-shadow: none; }
.meeting-cta__contact { margin-block-start: 22px; font-size: 16px; }
.meeting-cta__contact a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .meeting-cta__steps { grid-template-columns: 1fr; }
  .meeting-cta__step { padding: 22px 18px 24px; }
  .meeting-cta__btn { min-inline-size: 0; inline-size: 100%; }
}
