@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: "GveretLevin";
  src: url("images/fonts/gveret.woff2") format("woff2"),
       url("images/fonts/gveret.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #457372;
  --primary-dark: #365f5e;
  --accent: #ff8976;
  --accent-soft: rgba(255, 137, 118, 0.16);
  --accent-wash: #fff0ed;
  --green-soft: #eaf3ef;
  --ink: #173a44;
  --muted: #5a6b70;
  --line: #d6e5e0;
  --white: #fff;
  --shadow: 0 22px 46px rgba(69, 115, 114, .10);
  --text-base: clamp(1.08rem, 1.02rem + .28vw, 1.22rem);
  --text-small: clamp(.98rem, .95rem + .15vw, 1.05rem);
  --text-title: clamp(2.9rem, 1.9rem + 4.2vw, 4.35rem);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  font-family: "Heebo", sans-serif;
  color: var(--ink);
}

.landing {
  position: relative;
  width: 100%;
  max-width: 930px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 58px 36px;
  background: #fff;
  overflow: hidden;
  direction: rtl;
}

/* ── Hero ── */
.hero { position: relative; z-index: 1; }

.brand-row {
  direction: ltr;
  display: grid;
  grid-template-columns: 270px 1fr 200px;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}

.logo {
  width: 270px;
  height: auto;
  object-fit: contain;
  justify-self: start;
}

.portrait-circle {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  justify-self: end;
}

.gefen {
  direction: rtl;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 22px 12px;
  min-width: 230px;
  border: 1.5px solid rgba(255, 137, 118, .58);
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 999px;
  line-height: 1.2;
}
.gefen span {
  font-size: .92rem;
  font-weight: 500;
}
.gefen strong {
  display: block;
  margin-top: 3px;
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .2px;
}

.hero-center {
  text-align: center;
  padding: 0 38px 12px;
  margin-top: 0;
}

h1 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: var(--text-title);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.5px;
}

h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.55rem, 1.24rem + 1.15vw, 2.05rem);
  line-height: 1.34;
  font-weight: 500;
}

.sketch-underline,
.white-underline {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}
.sketch-underline::after,
.white-underline::after {
  content: "";
  position: absolute;
  right: -3px;
  left: -5px;
  bottom: .02em;
  height: .28em;
  border-radius: 45% 55% 46% 54%;
  transform: rotate(-1.2deg) scaleX(.04);
  transform-origin: right center;
  z-index: -1;
  animation: drawLine .7s ease .45s forwards;
}
.sketch-underline::after { background: var(--accent); opacity: .72; }
.white-underline::after { background: var(--accent); opacity: .82; bottom: -.04em; }

/* ── Intro ── */
.intro-section {
  direction: ltr;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: start;
  gap: 24px;
  padding: 14px 0 26px;
}
.intro-icon {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  opacity: .76;
  object-fit: contain;
  align-self: end;
  margin-top: 0;
}
.intro-text {
  direction: rtl;
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.72;
  color: var(--ink);
  font-weight: 400;
}

/* ── Definition ── */
.definition {
  position: relative;
  margin: 12px 0 42px;
  padding: 30px 72px 26px;
  text-align: center;
  background: var(--primary);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 42px rgba(69, 115, 114, .14);
}
.definition::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 16% 24%, rgba(255,255,255,.08), transparent 31%);
  pointer-events: none;
}
.definition p { position: relative; z-index: 1; }
.definition-top {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(1rem, .96rem + .2vw, 1.15rem);
  line-height: 1.45;
  font-weight: 400;
  opacity: .92;
}
.definition-hand {
  font-family: "GveretLevin", cursive;
  margin: 4px 0 10px;
  color: #fff;
  font-size: clamp(2rem, 1.65rem + 1.3vw, 2.72rem);
  line-height: 1.16;
  display: block;
  font-weight: 400;
}
.definition-body {
  max-width: 705px;
  margin: 0 auto;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.02rem, .98rem + .18vw, 1.14rem);
  line-height: 1.64;
  font-weight: 400;
}

/* ── Why ── */
.why { position: relative; margin-top: -4px; }
.why h3,
.offers h3 {
  margin: 0 0 14px;
  color: var(--primary);
  text-align: center;
  font-size: clamp(1.75rem, 1.45rem + 1vw, 2.08rem);
  line-height: 1.15;
  font-weight: 600;
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 38px 28px;
}
.why-item {
  position: relative;
  text-align: center;
  padding: 8px 8px 0;
}
.why-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 13px;
}
.why-icon {
  width: 68px;
  height: 68px;
  display: block;
  object-fit: contain;
}
.item-1 { transform: translateY(4px); }
.item-2 { transform: translateY(20px); }
.item-3 { transform: translateY(-2px); }
.why-item h4 {
  margin: 0 0 7px;
  color: var(--primary);
  font-size: clamp(1.15rem, 1.05rem + .28vw, 1.32rem);
  line-height: 1.24;
  font-weight: 600;
}
.why-item p {
  margin: 0 auto;
  max-width: 198px;
  font-size: clamp(.98rem, .94rem + .18vw, 1.05rem);
  line-height: 1.58;
  font-weight: 400;
}

/* ── Investment / bridge ── */
.investment {
  position: relative;
  margin: 0 auto 40px;
  padding: 18px 44px;
  max-width: 760px;
  color: var(--primary);
  font-size: clamp(1.05rem, 1rem + .2vw, 1.16rem);
  line-height: 1.58;
  font-weight: 600;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,137,118,.18) 18%, rgba(255,137,118,.16) 82%, rgba(255,255,255,0));
  border: 0;
  border-radius: 34px;
  clip-path: polygon(3% 6%, 96% 0, 100% 72%, 74% 100%, 4% 88%, 0 24%);
}
.investment p { margin: 0; }

/* ── Offers ── */
.offers { margin-top: 0; }
.offers h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.offers h3::before,
.offers h3::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: var(--line);
}
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin: 0 34px 38px;
}
.offer-card {
  position: relative;
  min-height: 136px;
  padding: 23px 32px 20px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(69, 115, 114, .22);
  border-radius: 26px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(69, 115, 114, .13);
}
.offer-card.workshop { transform: translateY(12px); }
.offer-card.workshop:hover { transform: translateY(8px); }
.offer-card span {
  position: absolute;
  top: -5px;
  right: 34px;
  width: 78px;
  height: 5px;
  border-radius: 999px;
  background: var(--primary);
  opacity: .5;
}
.offer-card.workshop span { background: var(--accent); opacity: .8; }
.offer-card h4 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: clamp(1.12rem, 1.05rem + .25vw, 1.28rem);
  line-height: 1.36;
  font-weight: 600;
}
.offer-card small {
  color: var(--primary);
  font-size: .92em;
  font-weight: 600;
}
.offer-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(.98rem, .94rem + .18vw, 1.05rem);
  line-height: 1.6;
  font-weight: 400;
}

/* ── Quote ── */
.quote-card {
  position: relative;
  width: min(720px, 88%);
  margin: 34px auto 34px;
  padding: 36px 66px 34px;
  background: #fff;
  border: 1.4px solid rgba(69, 115, 114, .55);
  border-radius: 16px 46px 46px 46px;
  box-shadow: 0 22px 44px rgba(69, 115, 114, .08);
  transform: rotate(-.35deg);
  text-align: right;
}

.quote-card > * {
  position: relative;
  z-index: 1;
}

.quote-card::before {
  display: none;
}

.quote-mark {
  position: absolute;
  color: var(--accent);
  font-size: 48px;
  line-height: 1;
  opacity: .78;
  font-family: Georgia, serif;
  z-index: 2;
}

.quote-start {
  right: 28px;
  top: 16px;
}

.quote-end {
  left: 28px;
  bottom: 10px;
}

.quote-small {
  margin: 0 0 8px;
  color: var(--primary);
  font-family: "GveretLevin", cursive;
  font-size: clamp(1.18rem, 1.02rem + .52vw, 1.48rem);
  font-weight: 400;
  line-height: 1.2;
}

.quote-main {
  margin: 0;
  max-width: 590px;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.08rem + .62vw, 1.55rem);
  line-height: 1.56;
  font-weight: 600;
}

.quote-hand {
  font-family: "GveretLevin", cursive;
  color: var(--accent);
  margin: 12px 0 0;
  font-size: clamp(1.32rem, 1.06rem + .82vw, 1.76rem);
  line-height: 1.28;
  letter-spacing: .2px;
  transform: rotate(-1deg);
  font-weight: 400;
}

/* ── About ── */
.about {
  position: relative;
  margin: 26px 0 22px;
  padding: 30px 70px 22px 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.about-bracket {
  display: none;
}

.about h3 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 8px;
  color: var(--primary);
  font-size: clamp(1.65rem, 1.45rem + .75vw, 2.08rem);
  line-height: 1.2;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about h3::before,
.about h3::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.about h3::before {
  border: 4px solid rgba(69,115,114,.55);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-20deg);
}

.about h3::after {
  border: 4px solid rgba(255,137,118,.58);
  border-right-color: transparent;
  border-top-color: transparent;
  transform: rotate(15deg);
}

.about .role {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: clamp(1.05rem, 1rem + .18vw, 1.15rem);
  line-height: 1.35;
  font-weight: 600;
}

.about p:not(.role) {
  max-width: 730px;
  margin: 0 auto 10px;
  color: var(--ink);
  font-size: clamp(1rem, .96rem + .18vw, 1.1rem);
  line-height: 1.64;
  font-weight: 400;
}


.community-sign {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0 8px;
}
.community-sign img {
  width: 99px;
  height: 99px;
  object-fit: contain;
  opacity: .86;
}

/* ── CTA ── */
.cta-wrap {
  text-align: center;
  padding: 26px 0 30px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 56px;
  background: var(--primary);
  color: #fff;
  font-family: "Heebo", sans-serif;
  font-size: 18px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.cta-secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--primary);
  font-size: clamp(.95rem, .9rem + .15vw, 1.03rem);
  line-height: 1.45;
}

.cta-secondary a {
  color: var(--primary-dark);
  display: inline-flex;
  justify-content: center;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  border-radius: 999px;
  padding: 5px 12px;
  transition: background-color .2s, color .2s;
}

.cta-secondary a:hover,
.cta-secondary a:focus-visible {
  color: var(--ink);
  background: rgba(69,115,114,.08);
}

.cta-secondary .is-coming-soon {
  opacity: .82;
}

.cta-divider {
  display: none;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 14px 26px;
  background: var(--primary);
  color: white;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
}
footer a {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  transition: opacity .2s, background-color .2s, transform .2s;
  cursor: pointer;
}
footer a:hover,
footer a:focus-visible {
  opacity: 1;
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}
footer a + a { border-right: 1px solid rgba(255,255,255,.35); }
footer svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ── gentle motion ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .7s ease forwards;
}
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drawLine {
  to { transform: rotate(-1.2deg) scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 760px) {
  .landing {
    padding: 22px 20px 30px;
  }
  .brand-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }
  .logo {
    width: 240px;
    justify-self: center;
  }
  .portrait-circle {
    width: 176px;
    height: 176px;
    justify-self: center;
    order: -1;
  }
  .gefen {
    justify-self: center;
    min-width: 0;
    width: min(320px, 100%);
  }
  .hero-center {
    padding: 6px 0 12px;
  }
  .intro-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0 24px;
  }
  .intro-text {
    order: 1;
  }
  .intro-icon {
    order: 2;
    width: 70px;
    height: 70px;
    justify-self: center;
    margin-top: 10px;
  }
  .definition {
    padding: 28px 24px 26px;
    margin-bottom: 34px;
  }
  .why-grid,
  .offer-grid {
    grid-template-columns: 1fr;
    margin-inline: 0;
    gap: 26px;
  }
  .item-1, .item-2, .item-3,
  .offer-card.workshop,
  .offer-card.workshop:hover {
    transform: none;
  }
  .investment {
    margin: 0 0 34px;
    padding: 18px 18px;
    border-radius: 24px;
  }
  .quote-card {
    width: 100%;
    margin: 30px 0 26px;
    padding: 34px 34px 32px;
  }
  .quote-start { right: 18px; top: 14px; }
  .quote-end { left: 20px; bottom: 8px; }
  .about {
    padding: 28px 0 22px;
  }
  .about h3 {
    gap: 8px;
  }
  .about h3::before,
  .about h3::after {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }
  .community-sign img {
    width: 83px;
    height: 83px;
  }
  .cta-wrap {
    padding: 22px 0 28px;
  }
  .cta-secondary {
    flex-direction: column;
    gap: 8px;
    max-width: 310px;
    margin-top: 16px;
    font-size: .95rem;
  }
  .cta-secondary a {
    padding: 6px 10px;
  }
  .cta-divider {
    display: none;
  }
  footer {
    flex-direction: column;
    gap: 6px;
    line-height: 1.35;
  }
  footer a + a {
    border-right: 0;
  }
}

/* ── Final brand arcs for about title ── */
.about h3 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 8px;
  color: var(--primary);
  font-size: clamp(1.65rem, 1.45rem + .75vw, 2.08rem);
  line-height: 1.2;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.about h3::before,
.about h3::after {
  content: "";
  position: absolute;
  top: -18px;
  width: 56px;
  height: 132px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  pointer-events: none;
}

.about h3::before {
  right: calc(100% + 14px);
  background-image: url("images/illustrations/arc-green.svg");
  transform: rotate(90deg) scale(1);
}

.about h3::after {
  left: calc(100% + 14px);
  background-image: url("images/illustrations/arc-peach.svg");
  transform: rotate(90deg) scaleX(-1) scale(1);
}

@media (max-width: 760px) {
  .about h3 {
    gap: 18px;
  }

  .about h3::before,
  .about h3::after {
    position: static;
    width: 30px;
    height: 62px;
    flex: 0 0 auto;
  }

  .about h3::before {
    transform: rotate(-90deg) scale(1);
  }

  .about h3::after {
    transform: rotate(-90deg) scaleX(-1) scale(1);
  }
}
