.dekami-footer-shortcode,.dekami-footer-shortcode *{box-sizing:border-box}

.dekami-footer-shortcode a{color:inherit;text-decoration:none}
.dekami-footer-stage{
  position:relative;
  width:100%;
  overflow:hidden;
  background:#161616;
  font-family:inherit!important;
  padding:34px 0;
}
.dekami-footer-stage *{
  font-family:inherit!important;
}

/* Layer 1: full-width heavily blurred background */
.dekami-footer-stage::before{
  content:"";
  position:absolute;
  inset:-70px;
  background-image:url("arshia-dekami.webp");
  background-position:center 48%;
  background-size:cover;
  background-repeat:no-repeat;
  filter:blur(46px);
  transform:scale(1.18);
  opacity:.92;
  pointer-events:none;
}
.dekami-footer-stage::after{
  content:"";
  position:absolute;
  inset:0;
  background:transparent;
  pointer-events:none;
}

/* Layer 2: crisp foreground image, intentionally not full-width */
.dekami-footer-card{
  position:relative;
  z-index:1;
  width:min(calc(100% - 140px),1180px);
  min-height:520px;
  margin:0 auto;
  overflow:hidden;
  background:transparent;
  box-shadow:0 24px 70px rgba(0,0,0,.18);
}

.dekami-footer-photo{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(180deg,rgba(0,0,0,.01) 0%,rgba(0,0,0,0) 52%,rgba(0,0,0,.08) 100%),
    url("arshia-dekami.webp");
  background-size:118% auto;
  background-position:center bottom;
  background-repeat:no-repeat;
  transform:scale(1.008);
  animation:dekamiPhotoDrift 18s ease-in-out infinite alternate;
}

/* More transparent glass panel */
.dekami-footer-panel{
  position:relative;
  z-index:2;
  width:calc(100% - 52px);
  margin:245px auto 22px;
  display:grid;
  grid-template-columns:1.08fr 1.48fr 1fr 1.20fr;
  gap:0;
  padding:24px 26px;
  background:
    linear-gradient(135deg,rgba(16,16,16,.32),rgba(8,8,8,.24));
  border:1px solid rgba(255,255,255,.08);
  border-radius:42px 0 42px 0;
  box-shadow:
    0 18px 48px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter:blur(12px) saturate(.78);
  -webkit-backdrop-filter:blur(12px) saturate(.78);
}

.dekami-footer-col{
  min-width:0;
  padding:0 20px;
  border-left:1px solid rgba(255,255,255,.07);
}
.dekami-footer-col:last-child{border-left:0}

.dekami-footer-col h3{
  margin:0 0 13px;
  font-size:10px;
  line-height:1.7;
  font-weight:700;
  color:rgba(255,255,255,.82);
}
.dekami-footer-col h2{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.65;
  font-weight:700;
  color:#fff;
}

.section-heading-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:rgba(255,255,255,.80)!important;
  transition:color .18s ease,transform .20s ease;
}
.section-heading-link::after{
  content:"↗";
  font-size:9px;
  opacity:.65;
}
.section-heading-link:hover{
  color:#fff!important;
  transform:translateX(-2px);
}

.phones{
  display:grid;
  gap:5px;
}
.phones a{
  width:max-content;
  font-size:16px;
  line-height:1.4;
  font-weight:700;
  color:#fff;
}

.small-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px 13px;
  margin-top:14px;
}
.small-actions a{
  font-size:9px;
  color:rgba(255,255,255,.78);
}

.topic-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 16px;
}
.quick-grid{display:grid}

.topic-grid a,
.quick-grid a{
  display:block;
  padding:4px 0;
  font-size:9px;
  line-height:1.7;
  color:rgba(255,255,255,.88);
  transition:color .18s ease,transform .20s ease;
}
.topic-grid a:hover,
.quick-grid a:hover,
.small-actions a:hover{
  color:#fff;
}
.topic-grid a:hover,
.quick-grid a:hover{
  transform:translateX(-3px);
}

.founder-col p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:9.2px;
  line-height:2;
}
.resume-link{
  position:relative;
  display:inline-block;
  margin-top:13px;
  padding-bottom:4px;
  font-size:9px;
  font-weight:700;
  color:#fff;
}
.resume-link::after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:100%;
  height:1px;
  background:rgba(255,255,255,.55);
  transform:scaleX(.55);
  transform-origin:right;
  transition:transform .25s ease;
}
.resume-link:hover::after{transform:scaleX(1)}

.mobile-only{display:none}

[data-reveal]{
  opacity:0;
  transform:translateY(8px);
  transition:opacity .35s ease,transform .40s ease;
}
[data-reveal].is-visible{
  opacity:1;
  transform:none;
}

@keyframes dekamiPhotoDrift{
  from{transform:scale(1.008) translate3d(0,0,0)}
  to{transform:scale(1.026) translate3d(0,-2px,0)}
}

@media(max-width:980px){
  .dekami-footer-card{
    width:min(calc(100% - 54px),1100px);
    min-height:560px;
  }
  .dekami-footer-panel{
    margin-top:255px;
    width:calc(100% - 28px);
    grid-template-columns:1fr 1.35fr 1fr 1.1fr;
    padding:22px 18px;
  }
  .dekami-footer-col{padding:0 14px}
  .dekami-footer-col h2{font-size:15px}
  .founder-col p{font-size:8.4px}
}

@media(max-width:760px){
  .dekami-footer-stage{
    padding:0;
  }
  .dekami-footer-stage::before{
    inset:-48px;
    filter:blur(38px);
    transform:scale(1.22);
  }

  .dekami-footer-card{
    width:100%;
    min-height:0;
    box-shadow:none;
  }

  .dekami-footer-photo{
    position:relative;
    height:330px;
    background-image:
      linear-gradient(180deg,rgba(0,0,0,.01),rgba(0,0,0,.06)),
      url("arshia-dekami.webp");
    background-size:cover;
    background-position:center 48%;
  }

  .desktop-only{display:none!important}
  .mobile-only{display:block}

  .mobile-panel{
    position:relative;
    z-index:2;
    margin:-42px 12px 14px;
    padding:17px 16px 6px;
    background:
      linear-gradient(135deg,rgba(18,18,18,.40),rgba(8,8,8,.30));
    border:1px solid rgba(255,255,255,.10);
    border-radius:36px 0 36px 0;
    box-shadow:0 20px 50px rgba(0,0,0,.20);
    backdrop-filter:blur(12px) saturate(.80);
    -webkit-backdrop-filter:blur(12px) saturate(.80);
  }

  .mobile-about{
    margin:0 0 8px;
    padding:14px 14px 16px;
    background:rgba(255,255,255,.018);
    border:1px solid rgba(255,255,255,.055);
    border-radius:28px 0 28px 0;
  }
  .mobile-about h2{
    margin:0;
    font-size:17px;
    line-height:1.65;
  }
  .mobile-about p{
    margin:8px 0 0;
    color:rgba(255,255,255,.82);
    font-size:9px;
    line-height:1.9;
  }

  .mobile-panel details{
    border-top:1px solid rgba(255,255,255,.085);
  }
  .mobile-panel summary{
    position:relative;
    list-style:none;
    padding:15px 0;
    cursor:pointer;
    font-size:10px;
    line-height:1.6;
    font-weight:700;
    color:#fff;
  }
  .mobile-panel summary::-webkit-details-marker{display:none}
  .mobile-panel summary::after{
    content:"+";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    font-size:17px;
    color:rgba(255,255,255,.65);
  }
  .mobile-panel details[open] summary::after{content:"−"}

  .mobile-body{
    display:grid;
    padding:0 0 12px;
  }
  .mobile-body a{
    padding:7px 0;
    border-bottom:1px solid rgba(255,255,255,.05);
    font-size:9px;
    line-height:1.7;
    color:rgba(255,255,255,.80);
  }
}

@media(prefers-reduced-motion:reduce){
  .dekami-footer-photo{animation:none}
  [data-reveal]{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
}

/* Strong foreground crop: remove the upper auditorium wall completely */
.dekami-footer-photo{
  background-size:118% auto !important;
  background-position:center bottom !important;
}


@media(max-width:760px){
  .dekami-footer-photo{
    height:320px !important;
    background-size:auto 470px !important;
    background-position:center bottom !important;
  }
}


/* v6: remove any black strip above the foreground image */
.dekami-footer-photo{
  inset:-2px !important;
  background-image:url("arshia-dekami.webp") !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
.dekami-footer-card{
  background:transparent !important;
}


@media(max-width:760px){
  .dekami-footer-photo{
    height:320px !important;
    inset:auto !important;
    background-image:url("arshia-dekami.webp") !important;
    background-size:cover !important;
    background-position:center center !important;
  }
}



/* Flatsome Footer Widget — full-width mount */
.dekami-footer-shortcode{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  clear:both!important;
  font-family:inherit!important;
}

.dekami-footer-shortcode,
.dekami-footer-shortcode *{
  font-family:inherit!important;
}

.dekami-footer-shortcode .dekami-footer-stage{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

#footer > .dekami-footer-shortcode,
.footer-wrapper > .dekami-footer-shortcode{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* Hide an emptied widget shell after the shortcode is moved out of its Flatsome column */
.footer-widgets .widget.dekami-footer-widget-empty,
.footer-widgets .widget_text.dekami-footer-widget-empty,
.footer-widgets .widget_block.dekami-footer-widget-empty,
.footer-widgets .widget_custom_html.dekami-footer-widget-empty{
  display:none!important;
}

/* Prevent inherited Flatsome column constraints from affecting the footer itself */
.dekami-footer-shortcode .dekami-footer-card{
  float:none!important;
  flex:none!important;
  max-width:none;
}

@media(max-width:760px){
  .dekami-footer-shortcode,
  .dekami-footer-shortcode .dekami-footer-stage{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }
}
