.page-home{
  background:
    radial-gradient(1000px 380px at 50% 0%, rgba(255,255,255,.75), transparent 58%),
    linear-gradient(180deg, #f4f1eb 0%, #efebe4 100%);
}

/* desktop custom cursor - subtle brush */
@media (min-width: 861px){
  body.page-home,
  body.page-home a,
  body.page-home button,
  body.page-home .heroNav__item,
  body.page-home .heroMeta a,
  body.page-home .homeEntry__card{
    cursor: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'>\
<g transform='rotate(-35 16 16)'>\
<rect x='13' y='3' width='6' height='17' rx='2' fill='%23222222'/>\
<rect x='12' y='18' width='8' height='5' rx='1.5' fill='%238b6b4d'/>\
<path d='M12 23 L20 23 L18 29 L14 29 Z' fill='%23d8c2a6'/>\
</g>\
</svg>") 4 4, auto;
  }
}

.hero{
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 50% 0%, rgba(255,255,255,.72), transparent 62%),
    linear-gradient(180deg, #f4f1eb 0%, #efebe4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* minimal desktop name */
.desktopBrand{
  position: absolute;
  top: 26px;
  left: 34px;
  z-index: 7;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(18,18,18,.62);
  pointer-events: none;
}

.hero__titleWrap{
  display: none;
}

/* artwork stage - slightly larger hero */
.heroStage{
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heroStage__img{
  width: 100vw;              /* 💥 فول عرض واقعی */
  height: auto;
  max-width: none;

  object-fit: contain;

  transform: scale(1.08);    /* 🔥 حس گالری */
  transform-origin: center;

  display: block;
}

/* left series nav */
.heroNav{
  position: absolute;
  left: 58px;
  /* top: 50%; */
  transform: translateY(-18%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 280px;
}

.heroNav__item{
  width: max-content;
  max-width: 100%;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(18,18,18,.78);
  padding: 8px 0 10px;
  position: relative;
  transition: color .2s ease, transform .2s ease;
}

.heroNav__item::before{
  content:"";
  position:absolute;
  left:-14px;
  top: 50%;
  bottom: 50px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(18,18,18,.16);
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.heroNav__item::after{
  content:"";
  position:absolute;
  left:0;
  width: 100%;
  bottom:2px;
  height:1px;
  background: rgba(18,18,18,.16);
  transition: background .2s ease;
}

.heroNav__item:hover{
  color: var(--ink);
  transform: translateX(4px);
}

.heroNav__item:hover::before{
  background: rgba(18,18,18,.44);
  transform: translateY(-50%) scale(1.15);
}

.heroNav__item:hover::after{
  background: rgba(18,18,18,.40);
}

/* bottom left quick links */
.heroMeta{
  position: absolute;
  left: 58px;
  bottom: 44px;
  z-index: 6;
  display: flex;
  gap: 24px;
  align-items: center;
}

.heroMeta a{
  font-size: 12px;
  color: rgba(18,18,18,.68);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.heroMeta a:hover{
  color: var(--ink);
}

/* home entry cards */
.homeEntry{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.homeEntry__card{
  min-height: 138px;
  border-radius: 24px;
  border: 1px solid rgba(18,18,18,.08);
  background: rgba(247,244,239,.62);
  padding: 18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.homeEntry__card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  border-color: rgba(18,18,18,.16);
}

.homeEntry__index{
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.homeEntry__card h2{
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}

.homeEntry__card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
  max-width: 28ch;
}

@media (max-width: 1280px){
  .heroStage{
    padding: 0 8px;
  }

  .heroStage__img{
    width: calc(100vw - 16px);
    transform: scale(1.03);
  }

 .heroNav{
  position: absolute;
  left: 40px;
  top: 40px; /* 🔥 بالاتر */
  z-index: 0;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

  .heroMeta{
    left: 28px;
    bottom: 34px;
  }


@media (max-width: 980px){

  .hero{
    min-height: auto;
    padding: 20px 0;
    display: block;
  }


  .heroNav{
    display: none !important; /* 💥 مهم */
  }

  .heroMeta{
    display: none;
  }

  .heroStage{
    width: 100%;
    padding: 0 18px;
  }

  .heroStage__img{
    width: 100%;
    transform: none;
    border-radius: 20px;
  }

  .homeEntry{
    grid-template-columns: 1fr;
    gap: 10px;
  }

}
@media (max-width: 860px){
  .hero{
    padding: 18px 0 24px;
  }

  .hero__titleWrap{
    display: none;
  }

  .heroStage{
    padding: 0 16px;
  }

  .heroStage__img{
    width: 100%;
    border-radius: 20px;
  }
}

@media (max-width: 520px){
  .hero{
    padding-top: 14px;
  }

  .heroStage{
    padding: 0 12px;
  }

  .heroStage__img{
    border-radius: 18px;
  }

  .homeEntry__card{
    min-height: 118px;
    border-radius: 20px;
  }

  .homeEntry__card h2{
    font-size: 16px;
  }
}
/* =========================
   Soft motion for home
   ========================= */

.heroNav__item,
.heroMeta a,
.homeEntry__card{
  will-change: transform, opacity;
}

/* left series buttons */
.heroNav__item{
  transition:
    transform .28s ease,
    color .28s ease,
    opacity .28s ease;
}

.heroNav__item::before{
  transition:
    background .28s ease,
    transform .28s ease,
    opacity .28s ease;
}

.heroNav__item::after{
  transition:
    background .28s ease,
    width .28s ease,
    opacity .28s ease;
}

.heroNav__item:hover{
  transform: translateX(6px);
}

.heroNav__item:hover::after{
  width: 112%;
}

/* bottom meta links */
.heroMeta a{
  position: relative;
  transition:
    transform .26s ease,
    color .26s ease,
    opacity .26s ease;
}

.heroMeta a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:1px;
  background: rgba(18,18,18,.35);
  transition: width .26s ease;
}

.heroMeta a:hover{
  transform: translateY(-1px);
}

.heroMeta a:hover::after{
  width:100%;
}

/* entry cards */
.homeEntry__card{
  transition:
    transform .32s ease,
    box-shadow .32s ease,
    border-color .32s ease,
    background .32s ease;
}

.homeEntry__card:hover{
  transform: translateY(-5px);
}

/* subtle entrance animation on load */
@media (prefers-reduced-motion: no-preference){
  .heroNav__item{
    opacity: 0;
    transform: translateX(-10px);
    animation: homeFadeLeft .55s ease forwards;
  }

  .heroNav__item:nth-child(1){ animation-delay: .06s; }
  .heroNav__item:nth-child(2){ animation-delay: .12s; }
  .heroNav__item:nth-child(3){ animation-delay: .18s; }
  .heroNav__item:nth-child(4){ animation-delay: .24s; }
  .heroNav__item:nth-child(5){ animation-delay: .30s; }
  .heroNav__item:nth-child(6){ animation-delay: .36s; }

  .heroMeta a{
    opacity: 0;
    transform: translateY(6px);
    animation: homeFadeUp .45s ease forwards;
  }

  .heroMeta a:nth-child(1){ animation-delay: .42s; }
  .heroMeta a:nth-child(2){ animation-delay: .48s; }
  .heroMeta a:nth-child(3){ animation-delay: .54s; }

  .homeEntry__card{
    opacity: 0;
    transform: translateY(16px);
    animation: homeFadeUp .55s ease forwards;
  }

  .homeEntry__card:nth-child(1){ animation-delay: .58s; }
  .homeEntry__card:nth-child(2){ animation-delay: .66s; }
  .homeEntry__card:nth-child(3){ animation-delay: .74s; }
}

@keyframes homeFadeLeft{
  to{
    opacity:1;
    transform: translateX(0);
  }
}

@keyframes homeFadeUp{
  to{
    opacity:1;
    transform: translateY(0);
  }
}

/* =========================
   Hero artwork load animation
   ========================= */

.heroStage{
  overflow: hidden;
}

.heroStage__img{
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: no-preference){
  .heroStage__img{
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.06);
    animation: heroArtworkReveal 1.2s cubic-bezier(.22,.61,.36,1) forwards;
    animation-delay: .18s;
  }
}

@keyframes heroArtworkReveal{
  0%{
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.06);
  }
  55%{
    opacity: .9;
    filter: blur(3px);
    transform: scale(1.02);
  }
  100%{
    opacity: 1;
    filter: blur(0);
    transform: scale(1.045);
  }
}

/* tablet/mobile: softer animation */
@media (max-width: 980px) and (prefers-reduced-motion: no-preference){
  .heroStage__img{
    transform: scale(1);
    animation: heroArtworkRevealMobile .9s ease forwards;
    animation-delay: .12s;
  }

  @keyframes heroArtworkRevealMobile{
    0%{
      opacity: 0;
      filter: blur(8px);
      transform: scale(1.03);
    }
    100%{
      opacity: 1;
      filter: blur(0);
      transform: scale(1);
    }
  }
}

/* 💥 RESET HERO LAYERS */
.heroStage,
.heroStage img,
.heroNav,
.hero{
  position: relative;
  z-index: 1; /* 👈 بیار پایین */
}

.mobileNavWrapper{
  position: fixed;
  inset: 0;
  background: #f5f2ec;

  display: none;
  z-index: 99999; /* 👈 خیلی بالا */
}

.page-home{
  background:
    radial-gradient(1000px 380px at 50% 0%, rgba(255,255,255,.75), transparent 58%),
    linear-gradient(180deg, #f4f1eb 0%, #efebe4 100%);
}

/* desktop custom cursor - subtle brush */
@media (min-width: 861px){
  body.page-home,
  body.page-home a,
  body.page-home button,
  body.page-home .heroNav__item,
  body.page-home .heroMeta a,
  body.page-home .homeEntry__card{
    cursor: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'>\
<g transform='rotate(-35 16 16)'>\
<rect x='13' y='3' width='6' height='17' rx='2' fill='%23222222'/>\
<rect x='12' y='18' width='8' height='5' rx='1.5' fill='%238b6b4d'/>\
<path d='M12 23 L20 23 L18 29 L14 29 Z' fill='%23d8c2a6'/>\
</g>\
</svg>") 4 4, auto;
  }
}

.hero{
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 50% 0%, rgba(255,255,255,.72), transparent 62%),
    linear-gradient(180deg, #f4f1eb 0%, #efebe4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* minimal desktop name */
.desktopBrand{
  position: absolute;
  top: 26px;
  left: 34px;
  z-index: 10; /* 🔥 بیار بالاتر */

  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(18,18,18,.62);
}
.hero__titleWrap{
  display: none;
}

/* artwork stage - slightly larger hero */
.heroStage{
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* left series nav */
.heroNav{
  position: absolute;
  left: 58px;
  /* top: 50%; */
  transform: translateY(-18%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 280px;
}

.heroNav__item{
  width: max-content;
  max-width: 100%;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(18,18,18,.78);
  padding: 8px 0 10px;
  position: relative;
  transition: color .2s ease, transform .2s ease;
}

.heroNav__item::before{
  content:"";
  position:absolute;
  left:-14px;
  top: 50%;
  bottom: 50px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(18,18,18,.16);
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.heroNav__item::after{
  content:"";
  position:absolute;
  left:0;
  width: 100%;
  bottom:2px;
  height:1px;
  background: rgba(18,18,18,.16);
  transition: background .2s ease;
}

.heroNav__item:hover{
  color: var(--ink);
  transform: translateX(4px);
}

.heroNav__item:hover::before{
  background: rgba(18,18,18,.44);
  transform: translateY(-50%) scale(1.15);
}

.heroNav__item:hover::after{
  background: rgba(18,18,18,.40);
}

/* bottom left quick links */
.heroMeta{
  position: absolute;
  left: 58px;
  bottom: 44px;
  z-index: 6;
  display: flex;
  gap: 24px;
  align-items: center;
}

.heroMeta a{
  font-size: 12px;
  color: rgba(18,18,18,.68);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.heroMeta a:hover{
  color: var(--ink);
}

/* home entry cards */
.homeEntry{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.homeEntry__card{
  min-height: 138px;
  border-radius: 24px;
  border: 1px solid rgba(18,18,18,.08);
  background: rgba(247,244,239,.62);
  padding: 18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.homeEntry__card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  border-color: rgba(18,18,18,.16);
}

.homeEntry__index{
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.homeEntry__card h2{
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}

.homeEntry__card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
  max-width: 28ch;
}

@media (max-width: 1280px){
  .heroStage{
    padding: 0 8px;
  }

 .heroNav{
  position: absolute;
  left: 40px;
  top: 40px; /* 🔥 بالاتر */
  z-index: 0;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

  .heroMeta{
    left: 28px;
    bottom: 34px;
  }

  .desktopBrand{
    left: 22px;
    top: 20px;
  }
}

@media (max-width: 980px){
  .heroNav{
    display: none; /* ✅ کامل حذف در موبایل */
  }
}


  .heroNav{
    display:flex;
  }

  .heroMeta{
    display:none;
  }

  .heroStage{
    width: 100%;
    padding: 0 18px;
  }

  .homeEntry{
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }
}

@media (max-width: 860px){
  .hero{
    padding: 18px 0 24px;
  }

  .hero__titleWrap{
    display: none;
  }



  .heroStage{
    padding: 0 16px;
  }

  .heroStage__img{
    width: 100%;
    border-radius: 20px;
  }
}

@media (max-width: 520px){
  .hero{
    padding-top: 14px;
  }

  .heroStage{
    padding: 0 12px;
  }

  .heroStage__img{
    border-radius: 18px;
  }

  .homeEntry__card{
    min-height: 118px;
    border-radius: 20px;
  }

  .homeEntry__card h2{
    font-size: 16px;
  }
}
/* =========================
   Soft motion for home
   ========================= */

.heroNav__item,
.heroMeta a,
.homeEntry__card{
  will-change: transform, opacity;
}

/* left series buttons */
.heroNav__item{
  transition:
    transform .28s ease,
    color .28s ease,
    opacity .28s ease;
}

.heroNav__item::before{
  transition:
    background .28s ease,
    transform .28s ease,
    opacity .28s ease;
}

.heroNav__item::after{
  transition:
    background .28s ease,
    width .28s ease,
    opacity .28s ease;
}

.heroNav__item:hover{
  transform: translateX(6px);
}

.heroNav__item:hover::after{
  width: 112%;
}

/* bottom meta links */
.heroMeta a{
  position: relative;
  transition:
    transform .26s ease,
    color .26s ease,
    opacity .26s ease;
}

.heroMeta a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:1px;
  background: rgba(18,18,18,.35);
  transition: width .26s ease;
}

.heroMeta a:hover{
  transform: translateY(-1px);
}

.heroMeta a:hover::after{
  width:100%;
}

/* entry cards */
.homeEntry__card{
  transition:
    transform .32s ease,
    box-shadow .32s ease,
    border-color .32s ease,
    background .32s ease;
}

.homeEntry__card:hover{
  transform: translateY(-5px);
}

/* subtle entrance animation on load */
@media (prefers-reduced-motion: no-preference){
  .heroNav__item{
    opacity: 0;
    transform: translateX(-10px);
    animation: homeFadeLeft .55s ease forwards;
  }

  .heroNav__item:nth-child(1){ animation-delay: .06s; }
  .heroNav__item:nth-child(2){ animation-delay: .12s; }
  .heroNav__item:nth-child(3){ animation-delay: .18s; }
  .heroNav__item:nth-child(4){ animation-delay: .24s; }
  .heroNav__item:nth-child(5){ animation-delay: .30s; }
  .heroNav__item:nth-child(6){ animation-delay: .36s; }

  .heroMeta a{
    opacity: 0;
    transform: translateY(6px);
    animation: homeFadeUp .45s ease forwards;
  }

  .heroMeta a:nth-child(1){ animation-delay: .42s; }
  .heroMeta a:nth-child(2){ animation-delay: .48s; }
  .heroMeta a:nth-child(3){ animation-delay: .54s; }

  .homeEntry__card{
    opacity: 0;
    transform: translateY(16px);
    animation: homeFadeUp .55s ease forwards;
  }

  .homeEntry__card:nth-child(1){ animation-delay: .58s; }
  .homeEntry__card:nth-child(2){ animation-delay: .66s; }
  .homeEntry__card:nth-child(3){ animation-delay: .74s; }
}

@keyframes homeFadeLeft{
  to{
    opacity:1;
    transform: translateX(0);
  }
}

@keyframes homeFadeUp{
  to{
    opacity:1;
    transform: translateY(0);
  }
}

/* =========================
   Hero artwork load animation
   ========================= */

.heroStage{
  overflow: hidden;
}





@keyframes heroArtworkReveal{
  0%{
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.06);
  }
  55%{
    opacity: .9;
    filter: blur(3px);
    transform: scale(1.02);
  }
  100%{
    opacity: 1;
    filter: blur(0);
    transform: scale(1.045);
  }
}

  @keyframes heroArtworkRevealMobile{
    0%{
      opacity: 0;
      filter: blur(8px);
      transform: scale(1.03);
    }
    100%{
      opacity: 1;
      filter: blur(0);
      transform: scale(1);
    }
  }
}

/* 💥 RESET HERO LAYERS */
.heroStage,
.heroStage img,
.heroNav,
.hero{
  position: relative;
  z-index: 1; /* 👈 بیار پایین */
}

.mobileNavWrapper{
  position: fixed;
  inset: 0;
  background: #f5f2ec;

  display: none;
  z-index: 99999; /* 👈 خیلی بالا */
}
body.nav-open .heroStage{
  z-index: 0 !important;
}

/* 🚫 NEVER show desktop nav on mobile */
@media (max-width: 860px){
  .heroNav{
    display: none !important;
  }
}

/* 💥 KILL DESKTOP NAV ON MOBILE (REAL FIX) */
@media (max-width: 980px){

  .heroNav{
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

}

@media (max-width: 980px){

  .heroStage{
    padding: 0 16px;
    margin-left: 0;
  }


@media (min-width: 981px){

  .heroStage{
    width: 100vw;
    margin-left: calc(50% - 50vw); /* 💥 فول بلید واقعی */
  }

}

