/* Local portfolio customizations for Lei Li. */
#header-logo svg {
  display: none !important;
}

#header-logo .leili-wordmark {
  display: inline-block;
  font-family: Aeonik, Arial, sans-serif;
  font-size: 1.95em;
  line-height: 1;
  letter-spacing: .085em;
  font-weight: 500;
  color: currentColor;
  mix-blend-mode: exclusion;
}

#preloader::before {
  content: "LEILI";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(2.25rem, 7vw, 7rem);
  line-height: 1;
  letter-spacing: .35em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .35s ease, visibility .35s ease;
}

html.is-ready #preloader {
  pointer-events: none !important;
}

html.is-ready #preloader::before {
  opacity: 0;
  visibility: hidden;
}

html.leili-mobile-fallback-ready,
html.leili-mobile-fallback-ready body {
  height: auto !important;
  min-height: 100% !important;
  overflow: auto !important;
  overscroll-behavior: auto !important;
}

html.leili-mobile-fallback-ready #preloader,
html.leili-mobile-fallback-ready #transition-overlay,
html.leili-mobile-fallback-ready #input-blocker {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.leili-mobile-fallback-ready #canvas {
  display: none !important;
}

html.leili-mobile-fallback-ready #ui,
html.leili-mobile-fallback-ready #page-container,
html.leili-mobile-fallback-ready #page-container-inner {
  position: relative !important;
  height: auto !important;
  min-height: 100vh !important;
  transform: none !important;
}

html.leili-mobile-fallback-ready .page,
html.leili-mobile-fallback-ready .section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

html.leili-mobile-fallback-ready #header {
  position: fixed !important;
}

#preloader-percent-digits {
  display: none !important;
}

#header-menu-newsletter,
#header-menu-labs,
#footer-middle-newsletter,
#footer-contact-socials,
#footer-bottom-labs {
  display: none !important;
}

#home-reel-video-watch-btn,
#video-overlay {
  display: none !important;
}

#footer-contact-address {
  pointer-events: none;
}

#footer-section {
  min-height: 42vh !important;
  padding-top: clamp(48px, 8vh, 96px) !important;
  padding-bottom: clamp(28px, 5vh, 56px) !important;
}

#footer-top,
#footer-contact-enquires,
#footer-contact-business,
#footer-bottom-tagline {
  display: none !important;
}

#footer-middle,
#footer-middle-contact,
#footer-bottom {
  display: flex !important;
}

#footer-middle {
  align-items: flex-start;
}

#footer-middle-contact {
  grid-column: auto !important;
  width: 100%;
  font-size: clamp(1.15rem, 1.4vw, 1.8rem) !important;
  line-height: 1.32;
}

#footer-contact-address {
  display: block !important;
  grid-column: auto !important;
  width: min(720px, 70vw) !important;
}

#footer-contact-address .footer-address-line:first-child {
  margin-bottom: .35em;
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: .9;
}

#footer-bottom {
  grid-template-columns: none !important;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: clamp(48px, 12vh, 120px) !important;
}

#footer-bottom-copyright {
  grid-column: auto !important;
  font-size: clamp(.95rem, 1vw, 1.15rem);
}

#footer-bottom-up {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  flex: 0 0 auto;
}

#about-who {
  overflow: hidden;
}

#about-who::before {
  display: none !important;
  content: none !important;
}

#about-who::after {
  display: none !important;
  content: none !important;
}

#about-who-title-left {
  display: none !important;
}

#about-who-subsection-details,
#about-who-desc-top,
#about-who-desc-bottom,
#leili-resume-panel {
  display: none !important;
}

#about-who-title-left-2,
#about-who-title-left-4,
#about-who-title-right {
  display: none !important;
}

.leili-resume-panel {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100vw - var(--base-padding-x) * 2));
  margin: 12vh auto 0;
  color: var(--color-black);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  pointer-events: auto;
}

.leili-resume-panel h2 {
  margin: 0 0 .35em;
  font-size: clamp(3.6rem, 11vw, 10rem);
  line-height: .9;
  letter-spacing: 0;
  font-weight: 400;
}

.leili-resume-panel h3 {
  margin: 0 0 .85em;
  font-size: clamp(1.45rem, 2.5vw, 2.5rem);
  line-height: 1.1;
  font-weight: 500;
}

.leili-resume-panel p,
.leili-resume-panel li {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.7;
}

.leili-resume-panel ul {
  margin: 0;
  padding-left: 1.1em;
}

.leili-resume-panel li + li {
  margin-top: .45em;
}

.leili-resume-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65em;
  margin: 1.5em 0 0;
}

.leili-resume-meta span,
.leili-skill-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25em;
  padding: .35em .75em;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  font-size: .95rem;
}

.leili-resume-card {
  padding: clamp(24px, 3vw, 42px);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .08);
}

.leili-skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .55em;
  margin-top: 1.25em;
}

#about-who-team,
#about-clients-carousel,
#about-award {
  display: none !important;
}

#about-clients-desc,
#about-capability-subheader-text {
  display: none !important;
}

.project-item-main::after,
.project-details-item::after {
  content: "YOUR WORK HERE";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(0, 0, 0, .28);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.75rem, 1vw, 1rem);
  letter-spacing: .08em;
  pointer-events: none;
}

.project-item[data-leili-locked="true"] {
  cursor: default;
}

.project-item-line-2-icon {
  display: inline-block !important;
  left: -1em !important;
}

.project-item .project-item-line-1,
.project-item-line-1[data-leili-label] {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1.25 !important;
  min-height: 1.25em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-item .project-item-line-1::before,
.project-item-line-1[data-leili-label]::before {
  display: block;
  color: #000;
  font-family: Aeonik, Arial, sans-serif;
  font-size: clamp(.78rem, .85vw, 1.05rem);
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-item[data-id="oryzo_ai"] .project-item-line-1::before {
  content: "product ai visual \2022\20 concept \2022\20 delivery";
}

.project-item[data-id="of_the_oak"] .project-item-line-1::before {
  content: "model training \2022\20 comfyui \2022\20 workflow";
}

.project-item[data-id="devin_ai"] .project-item-line-1::before {
  content: "liblib models \2022\20 platform \2022\20 84,000+ users";
}

.project-item[data-id="porsche_dream_machine"] .project-item-line-1::before {
  content: "ai portrait \2022\20 vivo proposal \2022\20 creative";
}

.project-item[data-id="synthetic_human"] .project-item-line-1::before {
  content: "ai portrait \2022\20 product kv \2022\20 retouching";
}

.project-item[data-id="ddd_2024"] .project-item-line-1::before {
  content: "overseas visual \2022\20 campaign \2022\20 ai effects";
}

.project-item[data-id="spaace"] .project-item-line-1::before {
  content: "commercial image \2022\20 style control \2022\20 delivery";
}

.project-item[data-id="choo_choo_world"] .project-item-line-1::before {
  content: "cultural tourism \2022\20 scene design \2022\20 atmosphere";
}

.project-item[data-id="zero_tech"] .project-item-line-1::before {
  content: "ecommerce \2022\20 product retouching \2022\20 main image";
}

.project-item[data-id="spatial_fusion"] .project-item-line-1::before {
  content: "background reconstruction \2022\20 scene visual";
}

.project-item[data-id="worldcoin"] .project-item-line-1::before {
  content: "ai video \2022\20 visual script \2022\20 content";
}

.project-item[data-id="lusion_labs"] .project-item-line-1::before {
  content: "aigc workflow \2022\20 team enablement";
}

.project-item[data-id="my_little_story_book"] .project-item-line-1::before {
  content: "packaging assets \2022\20 accessory materials";
}

.project-item[data-id="soda_experience"] .project-item-line-1::before {
  content: "style lock \2022\20 visual consistency";
}

.project-item[data-id="infinite_passerella"] .project-item-line-1::before {
  content: "model commercialization \2022\20 platform purchase";
}

.project-item[data-id="the_turn_of_the_screw"] .project-item-line-1::before {
  content: "visual testing \2022\20 iteration";
}

.project-item[data-id="maxmara_bearings_gifts"] .project-item-line-1::before {
  content: "marketing assets \2022\20 launch support";
}

.project-details-item {
  background: #dee2ec;
  border-radius: var(--global-border-radius);
}

@media (max-width: 812px) {
  #header-logo .leili-wordmark {
    font-size: 1.65em;
  }

  #preloader::before {
    letter-spacing: .22em;
    font-size: clamp(2rem, 13vw, 4rem);
  }

  .leili-resume-panel {
    grid-template-columns: 1fr;
    margin-top: 8vh;
  }

  #footer-section {
    min-height: 34vh !important;
  }

  #footer-contact-address {
    width: 100% !important;
  }

  #footer-contact-address .footer-address-line:first-child {
    font-size: clamp(2.3rem, 14vw, 5rem);
  }

  #footer-bottom {
    gap: 24px;
  }

  #about-who::after {
    display: none !important;
  }

  .project-item-line-1[data-leili-label]::before {
    font-size: clamp(.72rem, 2.8vw, .95rem);
  }

}
