
/* =========================================================
   פתיחת האתר — הסיפור של חיים איצ'ה
   ========================================================= */
.opening-story{
  position:relative;
  z-index:5;
  width:min(1240px,94vw);
  min-height:92vh;
  margin:0 auto;
  padding:100px 3vw 54px;
  display:grid;
  grid-template-columns:48% 52%;
  gap:4vw;
  align-items:center;
}

.opening-story-copy{
  max-width:620px;
  justify-self:center;
  text-align:right;
}

.opening-story-kicker{
  color:#cfa65f;
  font-size:15px;
  letter-spacing:.12em;
}

.opening-story h1{
  margin:4px 0 14px;
  color:#e8c47e;
  font:700 clamp(58px,7vw,92px) "Frank Ruhl Libre",serif;
  line-height:.95;
}

.opening-story-lead{
  color:#f0dfbe !important;
  font-size:clamp(20px,2vw,27px) !important;
  font-weight:600;
  line-height:1.55 !important;
}

.opening-story-copy p{
  margin:0 0 13px;
  color:#ded1bc;
  font-size:17px;
  line-height:1.85;
}

.opening-story-button{
  display:inline-flex;
  margin-top:10px;
  padding:12px 25px;
  border:1px solid rgba(216,175,100,.58);
  border-radius:999px;
  background:linear-gradient(180deg,#d4aa61,#a77a35);
  color:#17110b;
  text-decoration:none;
  font-weight:800;
}

.opening-story-photos{
  position:relative;
  width:100%;
  height:650px;
  justify-self:center;
}

.story-photo{
  position:absolute;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(226,188,116,.32);
  border-radius:24px;
  background:#0b131c;
  box-shadow:0 26px 65px rgba(0,0,0,.28);
}

.story-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.story-photo-main{
  width:62%;
  height:84%;
  right:12%;
  top:7%;
  z-index:2;
}

.story-photo-main img{object-position:center 28%}

.story-photo-top{
  width:34%;
  height:38%;
  left:0;
  top:0;
  z-index:3;
  transform:rotate(-2.5deg);
}

.story-photo-bottom{
  width:37%;
  height:40%;
  left:3%;
  bottom:0;
  z-index:4;
  transform:rotate(2deg);
}

/* existing homepage begins after the opening story */
.opening-story + .topbar{
  top:92vh !important;
}

/* mobile */
@media(max-width:700px){
  .opening-story{
    width:100%;
    min-height:auto;
    padding:34px 18px 28px;
    grid-template-columns:1fr;
    gap:24px;
  }

  .opening-story-copy{
    order:2;
    text-align:center;
  }

  .opening-story-photos{
    order:1;
    height:390px;
  }

  .opening-story h1{
    font-size:54px;
  }

  .opening-story-lead{
    font-size:19px !important;
  }

  .opening-story-copy p{
    font-size:14px;
    line-height:1.7;
  }

  .story-photo-main{
    width:65%;
    height:82%;
    right:17%;
  }

  .story-photo-top{
    width:34%;
    height:34%;
    left:1%;
  }

  .story-photo-bottom{
    width:36%;
    height:35%;
    left:0;
  }

  .opening-story + .topbar{
    top:auto !important;
    position:relative !important;
  }
}

/* phone browser in desktop-site mode */
@media(pointer:coarse) and (min-width:701px) and (max-width:1300px){
  .opening-story{
    min-height:650px !important;
    height:650px !important;
    padding:72px 30px 24px !important;
    grid-template-columns:48% 52% !important;
  }

  .opening-story h1{
    font-size:58px !important;
  }

  .opening-story-lead{
    font-size:17px !important;
  }

  .opening-story-copy p{
    font-size:12px !important;
    line-height:1.55 !important;
    margin-bottom:8px !important;
  }

  .opening-story-photos{
    height:520px !important;
  }

  .opening-story + .topbar{
    top:650px !important;
  }
}
